diff options
author | peter <peter@pkgsrc.org> | 2005-12-07 12:50:30 +0000 |
---|---|---|
committer | peter <peter@pkgsrc.org> | 2005-12-07 12:50:30 +0000 |
commit | 92e78841c2c787396fbd98ad866233f172c89601 (patch) | |
tree | 6818f2ef4d716cd14a128902ef261762c30007e7 /sysutils/pftop | |
parent | 5ec29269bc23316ce97303fbf2d511c03a9cb22c (diff) | |
download | pkgsrc-92e78841c2c787396fbd98ad866233f172c89601.tar.gz |
Fix the include path for the pfvar.h header. Should now build on DragonFly.
Diffstat (limited to 'sysutils/pftop')
-rw-r--r-- | sysutils/pftop/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/pftop/Makefile b/sysutils/pftop/Makefile index d6c7c1212b1..91ba313a7f8 100644 --- a/sysutils/pftop/Makefile +++ b/sysutils/pftop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2005/06/17 03:50:34 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2005/12/07 12:50:30 peter Exp $ DISTNAME= pftop-0.4 CATEGORIES= sysutils net @@ -15,6 +15,12 @@ CFLAGS+= -I${PREFIX}/include INSTALLATION_DIRS= man/man8 sbin +SUBST_CLASSES+= path +SUBST_STAGE.path= post-patch +SUBST_FILES.path= cache.c pftop.c +SUBST_SED.path= -e 's,net/pfvar.h,${H_PFLKM:S/\/usr\/include\///},g' +SUBST_MESSAGE.path= "Fixing include path." + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pftop ${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/pftop.8 ${PREFIX}/man/man8 |