Changeset View
Changeset View
Standalone View
Standalone View
head/net/libpcap/Makefile
| Show First 20 Lines • Show All 124 Lines • ▼ Show 20 Lines | |||||
| .endif | .endif | ||||
| .include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
| # Packages are built on a kernel that has cloning, but the resulting | # Packages are built on a kernel that has cloning, but the resulting | ||||
| # package will be run on a system that does not have cloning (7.x). | # 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. | # Always use bpf device, but specify CFLAGS if we have cloning. | ||||
| CONFIGURE_ARGS+= --with-pcap=bpf | CONFIGURE_ARGS+= --with-pcap=bpf | ||||
| .if ${OSVERSION} > 800043 | |||||
| CFLAGS+= -DHAVE_DEVICE_CLONING=1 | CFLAGS+= -DHAVE_DEVICE_CLONING=1 | ||||
| .endif | |||||
| .if ${ARCH} == "amd64" || ${ARCH} == "sparc64" | .if ${ARCH} == "amd64" || ${ARCH} == "sparc64" | ||||
| CFLAGS+= -fPIC | CFLAGS+= -fPIC | ||||
| .endif | .endif | ||||
| CONFIGURE_ARGS+= --enable-dbus=no | CONFIGURE_ARGS+= --enable-dbus=no | ||||
| .include <bsd.port.post.mk> | .include <bsd.port.post.mk> | ||||