mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
15c30d408e
/usr/lib/libpcap.a(pcap-rdmasniff.o): In function `rdmasniff_create': /usr/src/contrib/libpcap/pcap-rdmasniff.c:370: undefined reference to `ibv_get_device_list' /usr/src/contrib/libpcap/pcap-rdmasniff.c:405: undefined reference to `ibv_free_device_list' http://beefy5.nyi.freebsd.org/data/120i386-default/499228/logs/errors/fonulator-2.0.1_2.log http://beefy14.nyi.freebsd.org/data/120mips-quarterly/499227/logs/errors/fonulator-2.0.1_2.log
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
# Created by: Max Khon <fjoe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fonulator
|
|
PORTVERSION= 2.0.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= net net-mgmt
|
|
MASTER_SITES= http://support.red-fone.com/fonulator/
|
|
|
|
MAINTAINER= fjoe@FreeBSD.org
|
|
COMMENT= FoneBRIDGE configuration utility
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libargtable2.a:devel/argtable\
|
|
${LOCALBASE}/lib/libfb.a:net/libfb
|
|
LIB_DEPENDS= libnet.so:net/libnet
|
|
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS= --disable-shared
|
|
|
|
PLIST_FILES= bin/fonulator \
|
|
man/man1/fonulator.1.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD}\
|
|
-e 's,/usr/lib/libargtable2.a,${LOCALBASE}/lib/libargtable2.a,'\
|
|
-e 's,/usr/lib/libnet.a,${LOCALBASE}/lib/libnet.a,'\
|
|
${WRKSRC}/Makefile.in ${WRKSRC}/configure
|
|
.if exists(/usr/lib/libibverbs.a)
|
|
@${REINPLACE_CMD} -e 's,^fonulator_LDADD.*,& /usr/lib/libibverbs.a,' \
|
|
${WRKSRC}/Makefile.in
|
|
.endif
|
|
@${REINPLACE_CMD} -e 's,/etc/redfone.conf,${LOCALBASE}/etc/redfone.conf,'\
|
|
${WRKSRC}/fonulator.c ${WRKSRC}/fonulator.1
|
|
|
|
.include <bsd.port.mk>
|