summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2005-05-31 11:21:41 +0000
committerdillo <dillo@pkgsrc.org>2005-05-31 11:21:41 +0000
commit6e68b06993127a08a66fd54d03bc6a7d7f55f491 (patch)
treef24e5a9c5858c34ce26bc96d6d1afea04ac4adb4 /emulators
parent42816a484c346f31d606710fbd2df921fa0d3a76 (diff)
downloadpkgsrc-6e68b06993127a08a66fd54d03bc6a7d7f55f491.tar.gz
Make use of PKG_OPTIONS_LEGACY_OPTS.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/gxemul/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/emulators/gxemul/Makefile b/emulators/gxemul/Makefile
index f6436211c4b..c7805c2babb 100644
--- a/emulators/gxemul/Makefile
+++ b/emulators/gxemul/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/05/31 10:01:36 dillo Exp $
+# $NetBSD: Makefile,v 1.6 2005/05/31 11:21:41 dillo Exp $
#
DISTNAME= gxemul-0.3.2
@@ -27,13 +27,14 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.c ${PREFIX}/share/doc/${PKGBASE}
PKG_OPTIONS_VAR= PKG_OPTIONS.gxemul
-# X11 for legacy purposes. can be removed after 2005Q2
-PKG_SUPPORTED_OPTIONS= X11 x11
+PKG_SUPPORTED_OPTIONS= x11
PKG_SUGGESTED_OPTIONS= x11
+# can be removed after 2005Q2
+PKG_OPTIONS_LEGACY_OPTS+= X11:x11
.include "../../mk/bsd.options.mk"
-.if !empty(PKG_OPTIONS:Mx11) || !empty(PKG_OPTIONS:MX11)
+.if !empty(PKG_OPTIONS:Mx11)
USE_X11= yes
GLOBAL_LDFLAGS= -L${X11BASE}/lib ${COMPILER_RPATH_FLAG}${X11BASE}/lib
SUBST_CLASSES= x11