pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/bacula-clientonly Add static option for clien...
details: https://anonhg.NetBSD.org/pkgsrc/rev/199aab49580f
branches: trunk
changeset: 547737:199aab49580f
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Sep 30 15:20:30 2008 +0000
description:
Add static option for clientonly package as well, fixing the build as
side effect.
diffstat:
sysutils/bacula-clientonly/Makefile | 4 +++-
sysutils/bacula-clientonly/options.mk | 18 ++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletions(-)
diffs (38 lines):
diff -r 36250af625a1 -r 199aab49580f sysutils/bacula-clientonly/Makefile
--- a/sysutils/bacula-clientonly/Makefile Tue Sep 30 15:08:34 2008 +0000
+++ b/sysutils/bacula-clientonly/Makefile Tue Sep 30 15:20:30 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2008/01/08 16:52:20 ghen Exp $
+# $NetBSD: Makefile,v 1.9 2008/09/30 15:20:30 joerg Exp $
PKGNAME= ${DISTNAME:S/-/-clientonly-/}
PKGREVISION= 1
@@ -32,4 +32,6 @@
post-install:
${INSTALL_DATA} ${WRKSRC}/scripts/dvd-handler ${DESTDIR}${EXAMPLESDIR}
+.include "options.mk"
+
.include "../../mk/bsd.pkg.mk"
diff -r 36250af625a1 -r 199aab49580f sysutils/bacula-clientonly/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bacula-clientonly/options.mk Tue Sep 30 15:20:30 2008 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.3 2008/09/30 15:20:30 joerg Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.bacula-clientonly
+PKG_SUPPORTED_OPTIONS= bacula-static
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mbacula-static)
+CONFIGURE_ARGS+= --enable-static-cons
+CONFIGURE_ARGS+= --enable-static-dir
+CONFIGURE_ARGS+= --enable-static-fd
+CONFIGURE_ARGS+= --enable-static-sd
+CONFIGURE_ARGS+= --enable-static-tools
+PLIST_SUBST+= STATIC=
+.else
+PLIST_SUBST+= STATIC="@comment "
+.endif
+
Home |
Main Index |
Thread Index |
Old Index