MFH: r567816
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> Approved by: portmgr (bugfix blanket)
This commit is contained in:
parent
9bdcc3fd94
commit
fd91adca16
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=567817
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= openvswitch
|
||||
DISTVERSION= 2.14.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://openvswitch.org/releases/
|
||||
|
||||
@ -35,6 +36,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
|
||||
${MKDIR} ${STAGEDIR}/var/log/openvswitch
|
||||
|
Loading…
Reference in New Issue
Block a user