summaryrefslogtreecommitdiffstats
path: root/lib/libpcap
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-11-25 19:44:43 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-11-25 19:44:43 +0000
commit52255645fb90fea4463237052ca49411638d381a (patch)
treee3f49e2ae9774752cf0d572a4d4dd49a8bf8f14c /lib/libpcap
parentb93094a6f0d2c9cf9f249b0cfa7df61a46c1da00 (diff)
downloadFreeBSD-src-52255645fb90fea4463237052ca49411638d381a.zip
FreeBSD-src-52255645fb90fea4463237052ca49411638d381a.tar.gz
META MODE: Don't create .meta files when symlinking sources into the obj directory.
Tracking these leads to situations where meta mode will consider the file to be out of date if /bin/sh or /bin/ln are newer than the source file. There's no reason for meta mode to do this as make is already handling the rebuild dependency fine. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/libpcap')
-rw-r--r--lib/libpcap/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile
index c36b3ef..cdc0228 100644
--- a/lib/libpcap/Makefile
+++ b/lib/libpcap/Makefile
@@ -126,9 +126,8 @@ version.h: ${PCAP_DISTDIR}/VERSION
@rm -f $@
sed 's/.*/char pcap_version_string[] = "libpcap version &";/' ${PCAP_DISTDIR}/VERSION > $@
-tokdefs.h: grammar.h
- ln -sf grammar.h tokdefs.h
-
+tokdefs.h: grammar.h .NOMETA
+ ln -sf ${.ALLSRC} ${.TARGET}
#
# Magic to convert the man pages to something non Solarish
OpenPOWER on IntegriCloud