aboutsummaryrefslogtreecommitdiffstats
path: root/games/flightgear-data
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-01-06 14:20:22 +0800
committerwill <will@FreeBSD.org>2002-01-06 14:20:22 +0800
commit7eb7e56282b3d26029261bb2d568d95ee0d63aa9 (patch)
treefad9de51cf97a70df5fe58cca638640e3ab5d923 /games/flightgear-data
parent33365d87de0091e8c98f38b81447d07d6a67315a (diff)
downloadfreebsd-ports-gnome-7eb7e56282b3d26029261bb2d568d95ee0d63aa9.tar.gz
freebsd-ports-gnome-7eb7e56282b3d26029261bb2d568d95ee0d63aa9.tar.zst
freebsd-ports-gnome-7eb7e56282b3d26029261bb2d568d95ee0d63aa9.zip
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/flightgear-data')
-rw-r--r--games/flightgear-data/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/flightgear-data/Makefile b/games/flightgear-data/Makefile
index 4409885d99b2..a70555288268 100644
--- a/games/flightgear-data/Makefile
+++ b/games/flightgear-data/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)