pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/ucspi-tcp



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Mon Jun 18 10:50:19 UTC 2018

Modified Files:
        pkgsrc/net/ucspi-tcp: Makefile

Log Message:
Look for /etc/dnsrewrite under PKG_SYSCONFBASE. Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/net/ucspi-tcp/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/ucspi-tcp/Makefile
diff -u pkgsrc/net/ucspi-tcp/Makefile:1.41 pkgsrc/net/ucspi-tcp/Makefile:1.42
--- pkgsrc/net/ucspi-tcp/Makefile:1.41  Wed Jan  4 02:14:12 2017
+++ pkgsrc/net/ucspi-tcp/Makefile       Mon Jun 18 10:50:19 2018
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.41 2017/01/04 02:14:12 schmonz Exp $
+# $NetBSD: Makefile,v 1.42 2018/06/18 10:50:19 schmonz Exp $
 
 DISTNAME=              ucspi-tcp-0.88
-PKGREVISION=           4
+PKGREVISION=           5
 CATEGORIES=            sysutils net
 MASTER_SITES=          http://cr.yp.to/ucspi-tcp/ ftp://cr.yp.to/ucspi-tcp/
 DISTFILES=             ${DISTNAME}.tar.gz ${MANPAGES}
@@ -16,6 +16,14 @@ SITES.${MANPAGES}=   http://smarden.org/pa
 
 DJB_RESTRICTED=                no
 
+SUBST_CLASSES+=                etc
+SUBST_STAGE.etc=       do-configure
+SUBST_FILES.etc=       dns_rcrw.c
+SUBST_SED.etc=         -e 's|/etc/dnsrewrite|${PKG_SYSCONFBASE}/dnsrewrite|g'
+SUBST_MESSAGE.etc=     Fixing prefix.
+
+BUILD_DEFS+=           PKG_SYSCONFBASE
+
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
 post-install:



Home | Main Index | Thread Index | Old Index