- Support staging
- Respect CFLAGS - Don't build with debug symbols
This commit is contained in:
parent
78b6395959
commit
d2497a764a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346203
2 changed files with 11 additions and 5 deletions
|
@ -9,15 +9,13 @@ MASTER_SITES= http://www.mavetju.org/download/
|
|||
MAINTAINER= edwin@mavetju.org
|
||||
COMMENT= Decode and diagnose sniffed DHCP packets
|
||||
|
||||
MAN8= dhcpdump.8
|
||||
PLIST_FILES= bin/dhcpdump
|
||||
PLIST_FILES= bin/dhcpdump man/man8/dhcpdump.8.gz
|
||||
|
||||
USES= perl5
|
||||
USE_PERL5= build
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/dhcpdump ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/dhcpdump.8 ${PREFIX}/man/man8
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/dhcpdump ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/dhcpdump.8 ${STAGEDIR}${PREFIX}/man/man8
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
8
net/dhcpdump/files/patch-Makefile
Normal file
8
net/dhcpdump/files/patch-Makefile
Normal file
|
@ -0,0 +1,8 @@
|
|||
--- ./Makefile.orig 2014-02-26 14:13:07.131955471 +0100
|
||||
+++ ./Makefile 2014-02-26 14:13:21.108957821 +0100
|
||||
@@ -1,5 +1,3 @@
|
||||
-CFLAGS= -Wall -g
|
||||
-LDFLAGS= -g
|
||||
LIBS= -lpcap
|
||||
|
||||
all: dhcpdump dhcpdump.8
|
Loading…
Reference in a new issue