summaryrefslogtreecommitdiffstats
path: root/games/fgfs-base
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-01-06 06:20:22 +0000
committerwill <will@FreeBSD.org>2002-01-06 06:20:22 +0000
commit7eb7e56282b3d26029261bb2d568d95ee0d63aa9 (patch)
treefad9de51cf97a70df5fe58cca638640e3ab5d923 /games/fgfs-base
parent33365d87de0091e8c98f38b81447d07d6a67315a (diff)
downloadFreeBSD-ports-7eb7e56282b3d26029261bb2d568d95ee0d63aa9.zip
FreeBSD-ports-7eb7e56282b3d26029261bb2d568d95ee0d63aa9.tar.gz
First round of auto* cleanups:
- USE_AUTO* -> USE_AUTO*_VER=* where required - USE_AUTO* / *_DEPENDS=.*auto*:*/devel/auto* -> GNU_CONFIGURE where OK - Other minor changes to fix things These changes should be no-ops with the current bsd.port.mk, but will assist in preparing for the next generation of USE_AUTO*. Submitted by: bento 4-exp USE_AUTO* cleanups http://people.FreeBSD.org/~will/4-exp/ http://bento.FreeBSD.org/errorlogs/4-exp-latest/
Diffstat (limited to 'games/fgfs-base')
-rw-r--r--games/fgfs-base/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/fgfs-base/Makefile b/games/fgfs-base/Makefile
index 4409885..a705552 100644
--- a/games/fgfs-base/Makefile
+++ b/games/fgfs-base/Makefile
@@ -39,11 +39,13 @@ pre-configure:
.else
PLIST= ${MASTERDIR}/pkg-plist.notools
ADDPATCHES= ${MASTERDIR}/patches.tools/disable-tools
-USE_AUTOCONF= yes
+USE_AUTOCONF_VER=213
.endif
USE_NEWGCC= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV= \
+ LDFLAGS="${LDFLAGS} -L${X11BASE}/lib -lGLU -lGL -lglut ${PTHREAD_LIBS}"
CONFIGURE_ARGS+=--bindir=${PREFIX}/FlightGear/bin
USE_GMAKE= yes
@@ -54,6 +56,8 @@ pre-patch:
done )
post-configure:
+ @find ${WRKSRC} -type f | xargs ${PERL} -pi -e \
+ "s@#include.*<malloc.h>@#include <stdlib.h>@g"
@(cd ${WRKSRC};touch Makefile.in */Makefile.in */*/Makefile.in \
*/*/*/Makefile.in; \
./config.status)
OpenPOWER on IntegriCloud