aboutsummaryrefslogtreecommitdiff
path: root/games/torcs
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-05-23 12:52:30 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-05-23 12:52:30 +0000
commit3bb9892fff9c29b96d892594b9d09827b00f1c3b (patch)
treee6dd8816c0f3d7a1c970ded0db5b61b4571f0ccc /games/torcs
parent3d10987773f95ab1ce8d6df6aeea63bb6f47f836 (diff)
downloadports-3bb9892fff9c29b96d892594b9d09827b00f1c3b.tar.gz
ports-3bb9892fff9c29b96d892594b9d09827b00f1c3b.zip
Notes
Diffstat (limited to 'games/torcs')
-rw-r--r--games/torcs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/torcs/Makefile b/games/torcs/Makefile
index 4bd103f1a53e..f3cfb7a5c639 100644
--- a/games/torcs/Makefile
+++ b/games/torcs/Makefile
@@ -91,9 +91,9 @@ PLIST_SUB+= K1999="@comment "
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500041
-CPPFLAGS+= -I${X11BASE}/include
+CPPFLAGS+= -I${X11BASE}/include -fPIC
.else
-CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include -DHAVE_DECL_GETOPT" \
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include -DHAVE_DECL_GETOPT -fPIC" \
LDFLAGS="-L${LOCALBASE}/lib"
.endif