diff options
-rw-r--r-- | games/torcs/Makefile | 4 |
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 |