summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2004-05-30 09:27:26 +0000
committerthierry <thierry@FreeBSD.org>2004-05-30 09:27:26 +0000
commit9a5dbe8e78d3b7c484911ee269d221b982e74d74 (patch)
tree55e65728186ec7b5c07ad26372dbf0eea57a9c34 /games
parentcf722f90651088eedad18b2b96a3a914c3229e6f (diff)
downloadFreeBSD-ports-9a5dbe8e78d3b7c484911ee269d221b982e74d74.zip
FreeBSD-ports-9a5dbe8e78d3b7c484911ee269d221b982e74d74.tar.gz
Yet another attempt to unbreak TORCS on amd64:
define -fPIC for CXXFLAGS and CFLAGS.
Diffstat (limited to 'games')
-rw-r--r--games/torcs/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/games/torcs/Makefile b/games/torcs/Makefile
index d0913f2..1921f41 100644
--- a/games/torcs/Makefile
+++ b/games/torcs/Makefile
@@ -90,15 +90,11 @@ PLIST_SUB+= K1999="@comment "
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64"
-BROKEN= "Does not build on amd64 (needs to link to shared libraries)"
-.endif
-
.if ${OSVERSION} < 500041
CPPFLAGS+= -I${X11BASE}/include -fPIC
.else
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include -DHAVE_DECL_GETOPT -fPIC" \
- LDFLAGS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib" CXXFLAGS="-fPIC" CFLAGS="-fPIC"
.endif
.if !defined(WITHOUT_FREEGLUT)
OpenPOWER on IntegriCloud