summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-06-24 10:10:55 +0000
committersbd <sbd@pkgsrc.org>2012-06-24 10:10:55 +0000
commit793b58d8ce40f2986805d6edc37dcfd3cb87f5c8 (patch)
treeb48f53f34f055e8ae58fb0be5dfcdc03edfa9663
parent506bf9b9dff27699816bd34338cfd799707dde97 (diff)
downloadpkgsrc-793b58d8ce40f2986805d6edc37dcfd3cb87f5c8.tar.gz
If the ipv6 option is turned on change references from "man" to ${PKGMANDIR}
in heir.c so manpages get installed in the right place.
-rw-r--r--net/ucspi-tcp/options.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/ucspi-tcp/options.mk b/net/ucspi-tcp/options.mk
index cb1a15e4838..c9644f694a2 100644
--- a/net/ucspi-tcp/options.mk
+++ b/net/ucspi-tcp/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2012/06/12 15:46:02 wiz Exp $
+# $NetBSD: options.mk,v 1.4 2012/06/24 10:10:55 sbd Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ucspi-tcp
PKG_SUPPORTED_OPTIONS+= inet6 ucspi-tcp-nodefaultrbl
@@ -13,6 +13,12 @@ PATCHFILES+= ${IPV6_PATCH}
SITES.${IPV6_PATCH}= http://www.fefe.de/ucspi/
PATCH_DIST_STRIP.${IPV6_PATCH}= -p1
PLIST.inet6= yes
+
+SUBST_CLASSES+= hier
+SUBST_STAGE.hier= post-patch
+SUBST_MESSAGE.hier= Fixing manpage path.
+SUBST_FILES.hier= hier.c
+SUBST_SED.hier= -e 's,man,${PKGMANDIR},'
.endif
.if !empty(PKG_OPTIONS:Mucspi-tcp-nodefaultrbl)