1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

net/libbgpdump: use gcc, breaks with clang, and strip the lib

PR:		191428
Submitted by:	mjl@luckie.org.nz (maintainer)
This commit is contained in:
Kurt Jaeger 2014-07-20 21:19:04 +00:00
parent 16b962ced9
commit 3f8883b820
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362374

View File

@ -3,6 +3,7 @@
PORTNAME= libbgpdump PORTNAME= libbgpdump
PORTVERSION= 1.4.99.13 PORTVERSION= 1.4.99.13
PORTREVISION= 1
CATEGORIES= net CATEGORIES= net
MASTER_SITES= http://www.ris.ripe.net/source/bgpdump/ MASTER_SITES= http://www.ris.ripe.net/source/bgpdump/
EXTRACT_SUFX= .tgz EXTRACT_SUFX= .tgz
@ -14,12 +15,14 @@ LICENSE= GPLv2
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USE_LDCONFIG= yes USE_LDCONFIG= yes
USE_GCC= any
OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_DEFINE= DOCS EXAMPLES
do-install: do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/bgpdump ${STAGEDIR}${PREFIX}/bin @${INSTALL_PROGRAM} ${WRKSRC}/bgpdump ${STAGEDIR}${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/libbgpdump.* ${STAGEDIR}${PREFIX}/lib @${INSTALL_DATA} ${WRKSRC}/libbgpdump.* ${STAGEDIR}${PREFIX}/lib
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libbgpdump.so
.for i in bgpdump_attr.h bgpdump_formats.h bgpdump_lib.h .for i in bgpdump_attr.h bgpdump_formats.h bgpdump_lib.h
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/include @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/include
.endfor .endfor