diff options
author | will <will@FreeBSD.org> | 2002-01-06 14:20:22 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2002-01-06 14:20:22 +0800 |
commit | 7eb7e56282b3d26029261bb2d568d95ee0d63aa9 (patch) | |
tree | fad9de51cf97a70df5fe58cca638640e3ab5d923 /games/flightgear | |
parent | 33365d87de0091e8c98f38b81447d07d6a67315a (diff) | |
download | freebsd-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')
-rw-r--r-- | games/flightgear/Makefile | 6 |
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) |