Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2019 10:49:52 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r499345 - branches/2019Q2/net/fonulator
Message-ID:  <201904191049.x3JAnqpJ015110@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Fri Apr 19 10:49:52 2019
New Revision: 499345
URL: https://svnweb.freebsd.org/changeset/ports/499345

Log:
  MFH: r499344
  
  net/fonulator: Unbreak build on FreeBSD >= 12.0
  
  /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
  
  Approved by:	ports-secteam blanket

Modified:
  branches/2019Q2/net/fonulator/Makefile
Directory Properties:
  branches/2019Q2/   (props changed)

Modified: branches/2019Q2/net/fonulator/Makefile
==============================================================================
--- branches/2019Q2/net/fonulator/Makefile	Fri Apr 19 10:49:17 2019	(r499344)
+++ branches/2019Q2/net/fonulator/Makefile	Fri Apr 19 10:49:52 2019	(r499345)
@@ -27,6 +27,10 @@ post-patch:
 	    -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904191049.x3JAnqpJ015110>