diff options
author | thierry <thierry@FreeBSD.org> | 2004-05-23 20:52:30 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2004-05-23 20:52:30 +0800 |
commit | 4a0cd8dd52b042b83f9c34e5e50ac3dc2fbad7bd (patch) | |
tree | 1aab549643cba1cdeac892314c568c12894db7dc /games/torcs | |
parent | 603e8b9d16b9b6b57161d8a04a75ecc5a59ae01c (diff) | |
download | freebsd-ports-gnome-4a0cd8dd52b042b83f9c34e5e50ac3dc2fbad7bd.tar.gz freebsd-ports-gnome-4a0cd8dd52b042b83f9c34e5e50ac3dc2fbad7bd.tar.zst freebsd-ports-gnome-4a0cd8dd52b042b83f9c34e5e50ac3dc2fbad7bd.zip |
Try to fix on amd64 by compiling with -fPIC.
Reported by: Kris.
Diffstat (limited to 'games/torcs')
-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 |