pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/gnome-vfs Move options handling into options....
details: https://anonhg.NetBSD.org/pkgsrc/rev/cc7eb0412535
branches: trunk
changeset: 550864:cc7eb0412535
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Dec 01 14:41:52 2008 +0000
description:
Move options handling into options.mk file, and include that from Makefile,
not Makefile.common.
Fixes gnome-vfs-smb installation problem reported by Jared D. McNeill
on pkgsrc-changes.
diffstat:
sysutils/gnome-vfs/Makefile | 3 ++-
sysutils/gnome-vfs/Makefile.common | 33 +--------------------------------
sysutils/gnome-vfs/options.mk | 36 ++++++++++++++++++++++++++++++++++++
3 files changed, 39 insertions(+), 33 deletions(-)
diffs (105 lines):
diff -r 6b9f6a5e53b3 -r cc7eb0412535 sysutils/gnome-vfs/Makefile
--- a/sysutils/gnome-vfs/Makefile Mon Dec 01 14:22:36 2008 +0000
+++ b/sysutils/gnome-vfs/Makefile Mon Dec 01 14:41:52 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2008/11/23 13:43:40 jmcneill Exp $
+# $NetBSD: Makefile,v 1.72 2008/12/01 14:41:52 wiz Exp $
PKGREVISION= 1
@@ -24,6 +24,7 @@
MAKE_JOBS_SAFE= no
.include "Makefile.common"
+.include "options.mk"
CONFIGURE_ARGS+= --enable-fam
diff -r 6b9f6a5e53b3 -r cc7eb0412535 sysutils/gnome-vfs/Makefile.common
--- a/sysutils/gnome-vfs/Makefile.common Mon Dec 01 14:22:36 2008 +0000
+++ b/sysutils/gnome-vfs/Makefile.common Mon Dec 01 14:41:52 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.14 2008/11/24 13:01:33 wiz Exp $
+# $NetBSD: Makefile.common,v 1.15 2008/12/01 14:41:52 wiz Exp $
#
GNOME_VFS_VERSION= 2.24.0
@@ -44,38 +44,7 @@
CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
.endfor
-PKG_OPTIONS_VAR= PKG_OPTIONS.gnome-vfs
-PKG_SUPPORTED_OPTIONS+= inet6 gssapi hal
-PKG_SUGGESTED_OPTIONS+= hal
-
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == NetBSD
-# Kerberos is built in - no additional dependency
-PKG_SUGGESTED_OPTIONS+= gssapi
-.endif
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Minet6)
-CONFIGURE_ARGS+= --enable-ipv6
-.else
-CONFIGURE_ARGS+= --disable-ipv6
-.endif
-
-.if !empty(PKG_OPTIONS:Mgssapi)
-.include "../../mk/krb5.buildlink3.mk"
-CONFIGURE_ENV+= KRB5_CONFIG=${SH_KRB5_CONFIG}
-.else
-CONFIGURE_ENV+= ac_cv_path_KRB5_CONFIG=none
-.endif
-
-.if !empty(PKG_OPTIONS:Mhal)
-MESSAGE_SRC+= MESSAGE.hal
-.include "../../sysutils/hal/buildlink3.mk"
-CONFIGURE_ARGS+= --enable-hal
-.else
-CONFIGURE_ARGS+= --disable-hal
-.endif
# XXX Work-around for a problem in the configure script which checks for
# statvfs(2) having SVR4 in mind. Solving this in the script itself could
diff -r 6b9f6a5e53b3 -r cc7eb0412535 sysutils/gnome-vfs/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/gnome-vfs/options.mk Mon Dec 01 14:41:52 2008 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: options.mk,v 1.1 2008/12/01 14:41:52 wiz Exp $
+#
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.gnome-vfs
+PKG_SUPPORTED_OPTIONS= gssapi hal inet6
+PKG_SUGGESTED_OPTIONS= hal
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == NetBSD
+# Kerberos is built in - no additional dependency
+PKG_SUGGESTED_OPTIONS+= gssapi
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgssapi)
+.include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ENV+= KRB5_CONFIG=${SH_KRB5_CONFIG}
+.else
+CONFIGURE_ENV+= ac_cv_path_KRB5_CONFIG=none
+.endif
+
+.if !empty(PKG_OPTIONS:Mhal)
+MESSAGE_SRC+= ${.CURDIR}/MESSAGE.hal
+.include "../../sysutils/hal/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-hal
+.else
+CONFIGURE_ARGS+= --disable-hal
+.endif
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
Home |
Main Index |
Thread Index |
Old Index