mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Add LICENSE
- Respect CFLAGS/LDFLAGS
This commit is contained in:
parent
eeba2df7dd
commit
2dbcaf0cee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427093
2 changed files with 6 additions and 3 deletions
|
@ -10,11 +10,14 @@ MASTER_SITES= http://www.mavetju.org/download/
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Lightweight DHCP Relay Agent with GIF tunnel support
|
||||
|
||||
LICENSE= NONE
|
||||
|
||||
LIB_DEPENDS= libdnet.so:net/libdnet
|
||||
|
||||
PLIST_FILES= bin/dhcprelay
|
||||
USE_RC_SUBR= ${PORTNAME}
|
||||
|
||||
PLIST_FILES= bin/dhcprelay
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/dhcprelay ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
+
|
||||
dhcprelay: dhcprelay.o
|
||||
- gcc -g -o $@ -Wall -L/usr/local/lib -lpcap -ldnet $>
|
||||
+ ${CC} -g -o $@ -Wall -L${LOCALBASE}/lib -lpcap -ldnet $>
|
||||
+ ${CC} ${LDFLAGS} -o $@ -Wall -L${LOCALBASE}/lib -lpcap -ldnet $>
|
||||
|
||||
dhcprelay.o: dhcprelay.c
|
||||
- gcc -g -c -o $@ -Wall -I/usr/local/include $<
|
||||
+ ${CC} -g -c -o $@ -Wall -I${LOCALBASE}/include $<
|
||||
+ ${CC} ${CFLAGS} -c -o $@ -Wall -I${LOCALBASE}/include $<
|
||||
|
||||
clean:
|
||||
rm -f dhcprelay.o dhcprelay dhcprelay.core
|
||||
|
|
Loading…
Add table
Reference in a new issue