diff options
author | peter <peter> | 2005-12-07 12:50:30 +0000 |
---|---|---|
committer | peter <peter> | 2005-12-07 12:50:30 +0000 |
commit | f0ae523a656d4b95d64a2462a131d3f16571ad4d (patch) | |
tree | 6818f2ef4d716cd14a128902ef261762c30007e7 /sysutils/pfstat/Makefile | |
parent | 6e1abb23c9f62f7e78047bdef2f14e3ba7682c96 (diff) | |
download | pkgsrc-f0ae523a656d4b95d64a2462a131d3f16571ad4d.tar.gz |
Fix the include path for the pfvar.h header. Should now build on DragonFly.
Diffstat (limited to 'sysutils/pfstat/Makefile')
-rw-r--r-- | sysutils/pfstat/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/pfstat/Makefile b/sysutils/pfstat/Makefile index 8eab6f31c4f..f5eef7b1aad 100644 --- a/sysutils/pfstat/Makefile +++ b/sysutils/pfstat/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2005/06/17 03:50:34 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2005/12/07 12:50:53 peter Exp $ DISTNAME= pfstat-1.7 CATEGORIES= sysutils net @@ -12,6 +12,12 @@ NO_CONFIGURE= yes INSTALLATION_DIRS= bin man/man8 +SUBST_CLASSES+= path +SUBST_STAGE.path= post-patch +SUBST_FILES.path= pfstat.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}/pfstat ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pfstat.8 ${PREFIX}/man/man8 |