pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ucspi-tcp Look for /etc/dnsrewrite under PKG_SYSCO...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ce031b153dba
branches:  trunk
changeset: 381874:ce031b153dba
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Jun 18 10:50:19 2018 +0000

description:
Look for /etc/dnsrewrite under PKG_SYSCONFBASE. Bump PKGREVISION.

diffstat:

 net/ucspi-tcp/Makefile |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 7a3686a91648 -r ce031b153dba net/ucspi-tcp/Makefile
--- a/net/ucspi-tcp/Makefile    Mon Jun 18 10:49:24 2018 +0000
+++ b/net/ucspi-tcp/Makefile    Mon Jun 18 10:50:19 2018 +0000
@@ -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 @@
 
 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