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

This commit is contained in:
schmonz 2018-06-18 10:50:19 +00:00
parent 37192122e2
commit 1a52686c43

View file

@ -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/pape/djb/manpages/
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: