pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/inadyn
Module Name: pkgsrc
Committed By: dmcmahill
Date: Wed Feb 8 23:48:46 UTC 2017
Modified Files:
pkgsrc/net/inadyn: Makefile
Log Message:
add an option for static linking. No change to the default build
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/net/inadyn/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/inadyn/Makefile
diff -u pkgsrc/net/inadyn/Makefile:1.13 pkgsrc/net/inadyn/Makefile:1.14
--- pkgsrc/net/inadyn/Makefile:1.13 Sun May 29 22:32:11 2016
+++ pkgsrc/net/inadyn/Makefile Wed Feb 8 23:48:45 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2016/05/29 22:32:11 abs Exp $
+# $NetBSD: Makefile,v 1.14 2017/02/08 23:48:45 dmcmahill Exp $
DISTNAME= inadyn-1.99.15
CATEGORIES= net
@@ -40,6 +40,20 @@ SUBST_FILES.var= man/inadyn.conf.5 man/i
SUBST_MESSAGE.var= Adjusting path to VARBASE
SUBST_STAGE.var= pre-configure
+.include "../../mk/bsd.prefs.mk"
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.inadyn
+PKG_SUPPORTED_OPTIONS= static
+
+.include "../../mk/bsd.options.mk"
+
+##
+## Static link
+##
+.if !empty(PKG_OPTIONS:Mstatic)
+LDFLAGS+= -static
+.endif
+
pre-configure:
cd ${WRKSRC} && autoreconf -i
Home |
Main Index |
Thread Index |
Old Index