pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/gxemul Make use of PKG_OPTIONS_LEGACY_OPTS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b860de2b8d32
branches:  trunk
changeset: 494816:b860de2b8d32
user:      dillo <dillo%pkgsrc.org@localhost>
date:      Tue May 31 11:21:41 2005 +0000

description:
Make use of PKG_OPTIONS_LEGACY_OPTS.

diffstat:

 emulators/gxemul/Makefile |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r ef71b533815b -r b860de2b8d32 emulators/gxemul/Makefile
--- a/emulators/gxemul/Makefile Tue May 31 11:05:31 2005 +0000
+++ b/emulators/gxemul/Makefile Tue May 31 11:21:41 2005 +0000
@@ -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 @@
        ${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



Home | Main Index | Thread Index | Old Index