summaryrefslogtreecommitdiff
path: root/emulators/gxemul
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2005-05-31 10:01:36 +0000
committerdillo <dillo@pkgsrc.org>2005-05-31 10:01:36 +0000
commitf81ae835adc78533f22ce227d12d3f56e6076f1a (patch)
tree54f5cc64fe8b06d4695748b3d5b9967e8c030117 /emulators/gxemul
parent79084c0d28dd7c904bebb1b7d09f66fa505cfc47 (diff)
downloadpkgsrc-f81ae835adc78533f22ce227d12d3f56e6076f1a.tar.gz
Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable. Set PKG_SUGGESTED_OPTIONS instead. Also, make use of PKG_OPTIONS_LEGACY_VARS. Reviewed by wiz.
Diffstat (limited to 'emulators/gxemul')
-rw-r--r--emulators/gxemul/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/emulators/gxemul/Makefile b/emulators/gxemul/Makefile
index dd104aab9c3..f6436211c4b 100644
--- a/emulators/gxemul/Makefile
+++ b/emulators/gxemul/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/04/29 00:59:00 xtraeme Exp $
+# $NetBSD: Makefile,v 1.5 2005/05/31 10:01:36 dillo Exp $
#
DISTNAME= gxemul-0.3.2
@@ -27,11 +27,13 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.c ${PREFIX}/share/doc/${PKGBASE}
PKG_OPTIONS_VAR= PKG_OPTIONS.gxemul
-PKG_SUPPORTED_OPTIONS= X11
-PKG_DEFAULT_OPTIONS?= X11
+# X11 for legacy purposes. can be removed after 2005Q2
+PKG_SUPPORTED_OPTIONS= X11 x11
+PKG_SUGGESTED_OPTIONS= x11
+
.include "../../mk/bsd.options.mk"
-.if !empty(PKG_OPTIONS:MX11)
+.if !empty(PKG_OPTIONS:Mx11) || !empty(PKG_OPTIONS:MX11)
USE_X11= yes
GLOBAL_LDFLAGS= -L${X11BASE}/lib ${COMPILER_RPATH_FLAG}${X11BASE}/lib
SUBST_CLASSES= x11