aboutsummaryrefslogtreecommitdiff
path: root/net/libpcap
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-04-03 11:26:48 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-04-03 11:26:48 +0000
commit0438143249634ab5028e53cb468d99a894c62995 (patch)
tree204c01c7973e83331fc29d8b09e59b3e9f219bd6 /net/libpcap
parent68f48ea6c2e03359333e7b211625e51e06aa2026 (diff)
downloadports-0438143249634ab5028e53cb468d99a894c62995.tar.gz
ports-0438143249634ab5028e53cb468d99a894c62995.zip
Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true, as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107). Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when it is always needed, I renamed it, in one case, I merged two patches. Differential Revision: https://reviews.freebsd.org/D2209
Notes
Notes: svn path=/head/; revision=383107
Diffstat (limited to 'net/libpcap')
-rw-r--r--net/libpcap/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile
index c314c1763eb3..c50fd56e5dec 100644
--- a/net/libpcap/Makefile
+++ b/net/libpcap/Makefile
@@ -130,9 +130,7 @@ post-install:
# package will be run on a system that does not have cloning (7.x).
# Always use bpf device, but specify CFLAGS if we have cloning.
CONFIGURE_ARGS+= --with-pcap=bpf
-.if ${OSVERSION} > 800043
CFLAGS+= -DHAVE_DEVICE_CLONING=1
-.endif
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
CFLAGS+= -fPIC