summaryrefslogtreecommitdiff
path: root/games/quakeforge/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-05-15 23:33:22 +0000
committerjoerg <joerg@pkgsrc.org>2006-05-15 23:33:22 +0000
commit762ff336e77d706a173d58371183e5dd115dd8ea (patch)
treeae289a04221b359b8e5aba74c17e45395284fbcb /games/quakeforge/Makefile
parentdff0b6478d2326b81f299cca6edebd7d8cdeebdf (diff)
downloadpkgsrc-762ff336e77d706a173d58371183e5dd115dd8ea.tar.gz
Fix libtool fragment in configure for DragonFly.
Conditionalize Sun audio plugin on NetBSD and SunOS.
Diffstat (limited to 'games/quakeforge/Makefile')
-rw-r--r--games/quakeforge/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/games/quakeforge/Makefile b/games/quakeforge/Makefile
index 30ade1d317d..daccbaa5860 100644
--- a/games/quakeforge/Makefile
+++ b/games/quakeforge/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2006/04/17 13:46:29 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2006/05/15 23:33:22 joerg Exp $
DISTNAME= quakeforge-0.5.5
PKGREVISION= 5
@@ -13,6 +13,7 @@ CONFIGURE_ARGS+= --with-cpp="${CPP} %d %i %o"
CONFIGURE_ARGS+= --disable-ogg
CONFIGURE_ARGS+= --disable-xmms
GNU_CONFIGURE= YES
+USE_LANGUAGES= c c++
USE_TOOLS+= bison gmake
USE_LIBTOOL= YES
@@ -29,6 +30,12 @@ BUILD_DEFS+= USE_INET6
CONFIGURE_ARGS+= --without-ipv6
.endif
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS"
+PLIST_SUBST+= COND_SUN=""
+.else
+PLIST_SUBST+= COND_SUN="@comment "
+.endif
+
pre-install:
${INSTALL_PROGRAM_DIR} ${PREFIX}/include/QF/plugin
${INSTALL_PROGRAM_DIR} ${PREFIX}/include/QF/ruamoko/gui