summaryrefslogtreecommitdiff
path: root/games-arcade/criticalmass/files/criticalmass-1.0.2-system_curl.patch
blob: 1ab1a2d5ce522be900c277338064f1ffba5c0a4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- a/configure.in
+++ b/configure.in
@@ -115,8 +115,6 @@ fi
 AC_CHECK_LIB(m, sin,, 
     AC_MSG_ERROR(libm is needed))
 
-AC_CONFIG_SUBDIRS(curl)
-
 AC_OUTPUT(Makefile utils/Makefile utilssdl/Makefile utilsgl/Makefile game/Makefile tools/Makefile data/Makefile data/music/Makefile tinyxml/Makefile)
 
 echo "Configuration:
--- a/game/Makefile.am
+++ b/game/Makefile.am
@@ -41,7 +41,7 @@ critter_SOURCES = \
         main.cpp
 
 LDADD = \
-	../curl/lib/libcurl.a \
+	-lcurl \
 	../utils/libutils.a \
 	../utilssdl/libutilssdl.a \
 	../utilsgl/libutilsgl.a \
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,7 +4,7 @@
 AUTOMAKE_OPTIONS = 1.4
 
 ## Any directories that you want built and installed should go here.
-SUBDIRS = curl tinyxml utils utilssdl utilsgl tools data game
+SUBDIRS = tinyxml utils utilssdl utilsgl tools data game
 
 ## Any directories you want a part of the distribution should be listed
 ## here, as well as have a Makefile generated at the end of configure.in