diff options
author | dholland <dholland@pkgsrc.org> | 2012-05-27 20:46:14 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-05-27 20:46:14 +0000 |
commit | 3c75a7b80d163f2f3dc7e0893f87b885f340804a (patch) | |
tree | bb894a0f5ff87d2c0117d99c38f011b57d1f6080 /sysutils | |
parent | 99867b9c52a7029341a6d8d01268d00371427094 (diff) | |
download | pkgsrc-3c75a7b80d163f2f3dc7e0893f87b885f340804a.tar.gz |
Avoid setting .PATH with '..' when the name of the containing directory
is the same as the name of a build product. I think this is what's been
confusing make.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/pfstat/distinfo | 3 | ||||
-rw-r--r-- | sysutils/pfstat/patches/patch-pfstatd_Makefile | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/sysutils/pfstat/distinfo b/sysutils/pfstat/distinfo index dfe7747b4de..d69a353d970 100644 --- a/sysutils/pfstat/distinfo +++ b/sysutils/pfstat/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2011/04/15 11:27:04 obache Exp $ +$NetBSD: distinfo,v 1.7 2012/05/27 20:46:14 dholland Exp $ SHA1 (pfstat-2.5.tar.gz) = fdc6acae98ac2c102dedd2c82104c66d1c0af3ee RMD160 (pfstat-2.5.tar.gz) = bba652d4f27b41554422410e924a421a1a0fe2a0 @@ -9,3 +9,4 @@ SHA1 (patch-ab) = 24ab0271e0302e03f3b00feb9e4b20f97f932435 SHA1 (patch-ac) = 451e8a66d108dab39277f7d8d93150150f822879 SHA1 (patch-ad) = 35350590919a13e4cb1cb44f1d5b2f6846699c56 SHA1 (patch-ae) = 7a538480b79752b763c0c72945ff80bdbdb00a31 +SHA1 (patch-pfstatd_Makefile) = bbcb7738a83e93cfb7053bf5cd09a3da0af5e1ea diff --git a/sysutils/pfstat/patches/patch-pfstatd_Makefile b/sysutils/pfstat/patches/patch-pfstatd_Makefile new file mode 100644 index 00000000000..282af00e67d --- /dev/null +++ b/sysutils/pfstat/patches/patch-pfstatd_Makefile @@ -0,0 +1,21 @@ +$NetBSD: patch-pfstatd_Makefile,v 1.1 2012/05/27 20:46:14 dholland Exp $ + +Don't use .PATH: ${.CURDIR}/.. as it causes erratic behavior. +(For example, because ../pfstatd exists, make may latch onto that +as the path for "pfstatd" instead of the pfstatd executable.) + +--- pfstatd/Makefile~ 2007-01-11 16:01:58.000000000 +0000 ++++ pfstatd/Makefile +@@ -3,8 +3,11 @@ + PROG= pfstatd + SRCS= pfstatd.c pf.c + MAN= pfstatd.8 +-.PATH: ${.CURDIR}/.. ++#.PATH: ${.CURDIR}/.. + CFLAGS+= -Wall + CFLAGS+= -I${.CURDIR}/.. + + .include <bsd.prog.mk> ++ ++pf.c: ../pf.c ++ cp ../pf.c pf.c |