diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-21 05:06:15 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-21 05:06:15 +0000 |
commit | cb132b7d728b940add975f9ff6c54dbf7367dead (patch) | |
tree | 88e4229fe69d5384b11ed5c915f571981cc2b950 /games/freeciv-client | |
parent | cbfd838f6a519b19de77bc904fe5920617ffb227 (diff) | |
download | pkgsrc-cb132b7d728b940add975f9ff6c54dbf7367dead.tar.gz |
Don't include bsd.pkg.mk in Makefile.common, so force all files that
include it to include bsd.pkg.mk themselves. Convert to use buildlink.mk
files and mark freeciv packages as USE_BUILDLINK_ONLY. Include zlib's
buildlink.mk file in server and clients as -lz is used.
Diffstat (limited to 'games/freeciv-client')
-rw-r--r-- | games/freeciv-client/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/games/freeciv-client/Makefile b/games/freeciv-client/Makefile index b32391959ab..4324a3a970d 100644 --- a/games/freeciv-client/Makefile +++ b/games/freeciv-client/Makefile @@ -1,24 +1,27 @@ -# $NetBSD: Makefile,v 1.8 2001/05/02 16:31:09 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2001/06/21 05:06:15 jlam Exp $ -PKGNAME= ${DISTNAME:S/-/-client-/} +.include "../../games/freeciv-share/Makefile.common" +PKGNAME= ${DISTNAME:S/-/-client-/} COMMENT= Freeciv client with Xaw interface DEPENDS+= freeciv-share-${FC_VERS}:../../games/freeciv-share CONFLICTS= freeciv-client-gtk<=1.11.4 -USE_X11= YES -USE_XAW= YES -USE_XPM= YES +USE_X11= # defined +USE_XAW= # defined .include "../../mk/bsd.prefs.mk" +USE_BUILDLINK_ONLY= # defined + CONFIGURE_ARGS+= --disable-server CONFIGURE_ARGS+= --disable-make-data CONFIGURE_ARGS+= --enable-client=xaw .if defined(XAW_TYPE) && (${XAW_TYPE} == "3d") +.include "../../x11/Xaw3d/buildlink.mk" CONFIGURE_ARGS+= --with-xaw3d .endif @@ -26,4 +29,6 @@ do-install: cd ${WRKSRC}/client; ${SETENV} ${MAKE_ENV} \ ${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET} -.include "../../games/freeciv-share/Makefile.common" +.include "../../devel/zlib/buildlink.mk" +.include "../../graphics/xpm/buildlink.mk" +.include "../../mk/bsd.pkg.mk" |