From fe802debc78394a4c926286c651336c7f88f2fed Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Tue, 15 Jul 2014 16:00:00 +0000 Subject: [PATCH] - Convert to USES=libtool - Add INSTALL_TARGET=install-strip - Replace CFLAGS/LDFLAGS with CPPFLAGS/LIBS --- net/daq/Makefile | 9 +++++---- net/daq/pkg-plist | 9 ++------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/net/daq/Makefile b/net/daq/Makefile index 929beaa802ab..af28f956ec37 100644 --- a/net/daq/Makefile +++ b/net/daq/Makefile @@ -3,6 +3,7 @@ PORTNAME= daq PORTVERSION= 2.0.2 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= SF/snort/snort \ http://mirrors.rit.edu/zi/ @@ -18,12 +19,12 @@ LIB_DEPENDS= libdnet.so:${PORTSDIR}/net/libdnet \ BUILD_DEPENDS= flex:${PORTSDIR}/textproc/flex GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip +USES= bison gmake libtool USE_LDCONFIG= yes -USES= bison gmake -USE_AUTOTOOLS= libtool MAKE_JOBS_UNSAFE= yes -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include +LIBS+= -L${LOCALBASE}/lib .include diff --git a/net/daq/pkg-plist b/net/daq/pkg-plist index de3f465b518e..615186cfbc98 100644 --- a/net/daq/pkg-plist +++ b/net/daq/pkg-plist @@ -4,22 +4,17 @@ include/daq_api.h include/daq_common.h include/sfbpf.h include/sfbpf_dlt.h -lib/daq/daq_dump.la lib/daq/daq_dump.so -lib/daq/daq_ipfw.la lib/daq/daq_ipfw.so -lib/daq/daq_pcap.la lib/daq/daq_pcap.so lib/libdaq.a -lib/libdaq.la lib/libdaq.so lib/libdaq.so.2 +lib/libdaq.so.2.0.2 lib/libdaq_static.a -lib/libdaq_static.la lib/libdaq_static_modules.a -lib/libdaq_static_modules.la lib/libsfbpf.a -lib/libsfbpf.la lib/libsfbpf.so lib/libsfbpf.so.0 +lib/libsfbpf.so.0.0.1 @dirrm lib/daq