svn commit: r567816 - head/net/openvswitch
Neel Chauhan
nc at FreeBSD.org
Mon Mar 8 01:38:33 UTC 2021
Author: nc
Date: Mon Mar 8 01:38:33 2021
New Revision: 567816
URL: https://svnweb.freebsd.org/changeset/ports/567816
Log:
net/openvswitch: Fix conflicts with libc (uuid_to_string(2))
PR: 238331
Submitted by: Nikola Kolev <koue AT chaosophia DOT net>, amdmi3
Reported by: Ian Campbell <ianc1215 AT gmail DOT com>
MFH: 2021Q1
Modified:
head/net/openvswitch/Makefile
Modified: head/net/openvswitch/Makefile
==============================================================================
--- head/net/openvswitch/Makefile Mon Mar 8 01:36:03 2021 (r567815)
+++ head/net/openvswitch/Makefile Mon Mar 8 01:38:33 2021 (r567816)
@@ -3,6 +3,7 @@
PORTNAME= openvswitch
DISTVERSION= 2.15.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://openvswitch.org/releases/
@@ -45,6 +46,10 @@ INSTALL_TARGET=install-strip
SHLIB_VER= ${DISTVERSION:C/\.[0-9]*$//}
PLIST_SUB= SHLIB_VER=${SHLIB_VER}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|uuid_from_string(|uuid_from_string_ovs(|g' \
+ ${WRKSRC}/*/*.c ${WRKSRC}/*/*.h
post-install:
${MKDIR} ${STAGEDIR}/var/run/openvswitch
More information about the svn-ports-all
mailing list