summaryrefslogtreecommitdiff
path: root/games/flightgear
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2002-01-06 06:20:22 +0000
committerWill Andrews <will@FreeBSD.org>2002-01-06 06:20:22 +0000
commitf3171de7e6077f2297972e5effe08badee1e36f3 (patch)
tree913ef58fa0265a980c478b7264d71951bec76466 /games/flightgear
parentUpdate to 2.1.2. (diff)
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/
Notes
Notes: svn path=/head/; revision=52646
Diffstat (limited to 'games/flightgear')
-rw-r--r--games/flightgear/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/flightgear/Makefile b/games/flightgear/Makefile
index 4409885d99b2..a70555288268 100644
--- a/games/flightgear/Makefile
+++ b/games/flightgear/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)