aboutsummaryrefslogtreecommitdiffstats
path: root/games/lincity-ng
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2011-03-10 17:50:14 +0800
committeroliver <oliver@FreeBSD.org>2011-03-10 17:50:14 +0800
commite81e8a91052c2c3cd6755e0a8020da442089d418 (patch)
tree62c8074a19b65cbc1c9086f8221bdaa6422cfcc5 /games/lincity-ng
parentd541ea3dddec6eb7d5130ae7d53b39a4cc7175ae (diff)
downloadfreebsd-ports-gnome-e81e8a91052c2c3cd6755e0a8020da442089d418.tar.gz
freebsd-ports-gnome-e81e8a91052c2c3cd6755e0a8020da442089d418.tar.zst
freebsd-ports-gnome-e81e8a91052c2c3cd6755e0a8020da442089d418.zip
unbreak by adding -I${LOCALBASE}/include to the CFLAGS
Noted by: pav
Diffstat (limited to 'games/lincity-ng')
-rw-r--r--games/lincity-ng/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/lincity-ng/Makefile b/games/lincity-ng/Makefile
index bbd71cb63bd0..b3fd917f90a1 100644
--- a/games/lincity-ng/Makefile
+++ b/games/lincity-ng/Makefile
@@ -29,6 +29,9 @@ CONFIGURE_ARGS= --with-libphysfs=${PREFIX} \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+post-patch:
+ @${REINPLACE_CMD} -e 's| -O| -I${LOCALBASE}/include&|g' \
+ ${WRKSRC}/Jamrules
do-build:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} jam)