summaryrefslogtreecommitdiff
path: root/games/xgospel
diff options
context:
space:
mode:
authorjlam <jlam>2002-02-08 00:12:38 +0000
committerjlam <jlam>2002-02-08 00:12:38 +0000
commitde06e1be73cf7194eb595f657a485606e5a85bc7 (patch)
treec0eb31042ab6f1849110d3adcbcd8846c1ace7aa /games/xgospel
parent9cb499931411de3f685e9dfc3b2da54e331566ee (diff)
downloadpkgsrc-de06e1be73cf7194eb595f657a485606e5a85bc7.tar.gz
Strongly buildlink'ify and honor XAW_TYPE for the Xaw widgets.
Diffstat (limited to 'games/xgospel')
-rw-r--r--games/xgospel/Makefile22
1 files changed, 18 insertions, 4 deletions
diff --git a/games/xgospel/Makefile b/games/xgospel/Makefile
index fb17ea95870..7019517a492 100644
--- a/games/xgospel/Makefile
+++ b/games/xgospel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/02/16 15:11:02 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2002/02/08 00:12:38 jlam Exp $
#
DISTNAME= xgospel-1.12d
@@ -9,8 +9,22 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://gailly.net/xgospel/
COMMENT= X11 based IGS client
-GNU_CONFIGURE= YES
-USE_X11= YES
-USE_GMAKE= YES
+USE_BUILDLINK_ONLY= yes
+GNU_CONFIGURE= yes
+XAW_TYPE= 3d
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(XAW_TYPE)
+. if (${XAW_TYPE} == "3d") || (${XAW_TYPE} == "xpm")
+CONFIGURE_ARGS+= --with-xaw3d
+. endif
+.endif
+
+# Don't find libintl.a...it's only needed on SCO UNIX.
+CONFIGURE_ENV+= ac_cv_lib_intl=no
+
+.include "../../graphics/xpm/buildlink.mk"
+.include "../../mk/xaw.buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"