diff options
author | oliver <oliver@FreeBSD.org> | 2011-03-10 17:50:14 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2011-03-10 17:50:14 +0800 |
commit | e81e8a91052c2c3cd6755e0a8020da442089d418 (patch) | |
tree | 62c8074a19b65cbc1c9086f8221bdaa6422cfcc5 /games/lincity-ng | |
parent | d541ea3dddec6eb7d5130ae7d53b39a4cc7175ae (diff) | |
download | freebsd-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/Makefile | 3 |
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) |