mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
net-mgmt/unifi-devel: Replace bundled snappy jar
Overwrite whichever version is shipped with a symlink to the version installed by the package dependency. PR: 223401 Submitted by: maintainer
This commit is contained in:
parent
406508d5e0
commit
33da4569e5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463398
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= unifi
|
PORTNAME= unifi
|
||||||
PORTVERSION= 5.7.15
|
PORTVERSION= 5.7.15
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= net-mgmt java
|
CATEGORIES= net-mgmt java
|
||||||
MASTER_SITES= http://dl.ubnt.com/unifi/${PORTVERSION}-${UNIFI_BUILD}/
|
MASTER_SITES= http://dl.ubnt.com/unifi/${PORTVERSION}-${UNIFI_BUILD}/
|
||||||
PKGNAMESUFFIX= -devel
|
PKGNAMESUFFIX= -devel
|
||||||
@ -49,8 +50,7 @@ CONFLICTS= unifi2-* unifi3-* unifi4-* unifi5-*
|
|||||||
DIR_LIST= conf data logs run work
|
DIR_LIST= conf data logs run work
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
${RM} ${WRKSRC}/usr/lib/unifi/lib/snappy-java-1.1.2.6.jar ${WRKSRC}/usr/lib/unifi/bin/*
|
(cd ${WRKSRC}/usr/lib/unifi/lib && ${LN} -f -s ${JAVAJARDIR}/snappy-java.jar snappy-java-*.jar)
|
||||||
(cd ${WRKSRC}/usr/lib/unifi/lib && ${LN} -s ${JAVAJARDIR}/snappy-java.jar snappy-java-1.1.2.6.jar)
|
|
||||||
${RM} -r ${WRKSRC}/usr/lib/unifi/lib/native
|
${RM} -r ${WRKSRC}/usr/lib/unifi/lib/native
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
|
Loading…
Reference in New Issue
Block a user