From 793b58d8ce40f2986805d6edc37dcfd3cb87f5c8 Mon Sep 17 00:00:00 2001 From: sbd Date: Sun, 24 Jun 2012 10:10:55 +0000 Subject: If the ipv6 option is turned on change references from "man" to ${PKGMANDIR} in heir.c so manpages get installed in the right place. --- net/ucspi-tcp/options.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'net') 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) -- cgit v1.2.3