diff options
author | jlam <jlam> | 2002-04-12 13:20:01 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-04-12 13:20:01 +0000 |
commit | 07b19140f95db184453ff7910b1df88e9a66f524 (patch) | |
tree | e45e242bd2bf9d523e67a199305e72a00961f632 /x11/xplanet/Makefile | |
parent | 7e90c85d622a9bac02136e08e9ba2e9dd560c287 (diff) | |
download | pkgsrc-07b19140f95db184453ff7910b1df88e9a66f524.tar.gz |
Several changes:
* It's CONFIGURE_ARGS, not CONFIGURE_ARG.
* Use Mesa/buildlink.mk to properly handle whether we're using XF3 or XF4
(the latter contains its own MesaGL libraries).
* Comment out inclusion of x11.buildlink.mk since we're not even weakly
buildlinked, so jumping ahead to trying to strongly buldlinkify this
package is overboard.
* Sort the buildlink.mk file (just personal aesthetics).
Diffstat (limited to 'x11/xplanet/Makefile')
-rw-r--r-- | x11/xplanet/Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/x11/xplanet/Makefile b/x11/xplanet/Makefile index fc8d870e73c..5f731e80aa5 100644 --- a/x11/xplanet/Makefile +++ b/x11/xplanet/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2002/04/04 16:47:54 atatat Exp $ +# $NetBSD: Makefile,v 1.3 2002/04/12 13:20:01 jlam Exp $ # DISTNAME= xplanet-0.93 @@ -10,13 +10,11 @@ MAINTAINER= atatat@netbsd.org HOMEPAGE= http://xplanet.sourceforge.net/ COMMENT= Rotating rendered map of the Earth in X11 root window -GNU_CONFIGURE= YES -CONFIGURE_ARGS= --with-gl-dir=${X11BASE} --with-glut-dir=${X11BASE} -USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-gl-dir=${BUILDLINK_DIR} +CONFIGURE_ARGS+= --with-glut-dir=${BUILDLINK_DIR} -DEPENDS+= MesaLib-*:../../graphics/MesaLib -DEPENDS+= glut-*:../../graphics/glut -DEPENDS+= glu-*:../../graphics/glu +USE_GMAKE= yes LIBS= -lpbm -lppm -lpgm MAKE_ENV+= LIBS="${LIBS}" @@ -27,12 +25,14 @@ pre-configure: [ -f $$f.BAK ] || ${MV} $$f $$f.BAK ; \ ${SED} -e 's|@PREFIX@|${PREFIX}|g' < $$f.BAK > $$f -.include "../../graphics/libungif/buildlink.mk" +.include "../../graphics/Mesa/buildlink.mk" .include "../../graphics/jpeg/buildlink.mk" -.include "../../graphics/png/buildlink.mk" +.include "../../graphics/freetype2/buildlink.mk" +.include "../../graphics/libungif/buildlink.mk" .include "../../graphics/netpbm/buildlink.mk" +.include "../../graphics/png/buildlink.mk" .include "../../graphics/tiff/buildlink.mk" -.include "../../graphics/freetype2/buildlink.mk" .include "../../x11/tk/buildlink.mk" -.include "../../mk/x11.buildlink.mk" + +#.include "../../mk/x11.buildlink.mk" .include "../../mk/bsd.pkg.mk" |