summaryrefslogtreecommitdiff
path: root/emulators/gxemul
diff options
context:
space:
mode:
authordillo <dillo>2005-05-31 11:21:41 +0000
committerdillo <dillo>2005-05-31 11:21:41 +0000
commit1ca89eff35d04a7d9b408dabdb94fc8d21dd4e1f (patch)
treef24e5a9c5858c34ce26bc96d6d1afea04ac4adb4 /emulators/gxemul
parentada14f2061774a6a0d075d3a94c7343768798033 (diff)
downloadpkgsrc-1ca89eff35d04a7d9b408dabdb94fc8d21dd4e1f.tar.gz
Make use of PKG_OPTIONS_LEGACY_OPTS.
Diffstat (limited to 'emulators/gxemul')
-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