diff options
author | wiz <wiz@pkgsrc.org> | 2005-05-31 21:42:04 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-05-31 21:42:04 +0000 |
commit | 6c86f878fc2d43232a269aa1ee68fcd408bb284b (patch) | |
tree | d18b5d0da5039895914050c49dd4a7669b723fa1 /emulators | |
parent | 2e8522e3638d6095c11a0a9212c713ad08649748 (diff) | |
download | pkgsrc-6c86f878fc2d43232a269aa1ee68fcd408bb284b.tar.gz |
Convert to options framework.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/wine/Makefile | 9 | ||||
-rw-r--r-- | emulators/wine/options.mk | 10 |
2 files changed, 12 insertions, 7 deletions
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile index 8bc86e2d14c..e09f7a2a15b 100644 --- a/emulators/wine/Makefile +++ b/emulators/wine/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.85 2005/05/25 08:23:43 adam Exp $ +# $NetBSD: Makefile,v 1.86 2005/05/31 21:42:04 wiz Exp $ DISTNAME= Wine-20050524 PKGNAME= ${DISTNAME:S/W/w/} @@ -38,12 +38,7 @@ CONFIGURE_ENV+= X_LIBS="${LDFLAGS}" CONFIGURE_ENV+= CFLAGS="${CFLAGS} -DDEVOSSAUDIO=\"${DEVOSSAUDIO}\"" LIBS+= ${LDFLAGS} -.include "../../mk/bsd.prefs.mk" - -.if defined(USE_CUPS) && (${USE_CUPS} == YES) -. include "../../print/cups/buildlink3.mk" -BUILD_DEFS+= USE_CUPS -.endif +.include "options.mk" EGDIR= ${PREFIX}/share/wine diff --git a/emulators/wine/options.mk b/emulators/wine/options.mk new file mode 100644 index 00000000000..6f5a34fc7db --- /dev/null +++ b/emulators/wine/options.mk @@ -0,0 +1,10 @@ +# $NetBSD: options.mk,v 1.1 2005/05/31 21:42:04 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.wine +PKG_SUPPORTED_OPTIONS= cups + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mcups) +.include "../../print/cups/buildlink3.mk" +.endif |