svn commit: r463398 - head/net-mgmt/unifi-devel

Mark Felder feld at FreeBSD.org
Fri Mar 2 13:36:30 UTC 2018


Author: feld
Date: Fri Mar  2 13:36:29 2018
New Revision: 463398
URL: https://svnweb.freebsd.org/changeset/ports/463398

Log:
  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

Modified:
  head/net-mgmt/unifi-devel/Makefile

Modified: head/net-mgmt/unifi-devel/Makefile
==============================================================================
--- head/net-mgmt/unifi-devel/Makefile	Fri Mar  2 13:34:27 2018	(r463397)
+++ head/net-mgmt/unifi-devel/Makefile	Fri Mar  2 13:36:29 2018	(r463398)
@@ -3,6 +3,7 @@
 
 PORTNAME=	unifi
 PORTVERSION=	5.7.15
+PORTREVISION=	1
 CATEGORIES=	net-mgmt java
 MASTER_SITES=	http://dl.ubnt.com/unifi/${PORTVERSION}-${UNIFI_BUILD}/
 PKGNAMESUFFIX=	-devel
@@ -49,8 +50,7 @@ CONFLICTS=	unifi2-* unifi3-* unifi4-* unifi5-*
 DIR_LIST=	conf data logs run work
 
 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} -s ${JAVAJARDIR}/snappy-java.jar snappy-java-1.1.2.6.jar)
+	(cd ${WRKSRC}/usr/lib/unifi/lib && ${LN} -f -s ${JAVAJARDIR}/snappy-java.jar snappy-java-*.jar)
 	${RM} -r ${WRKSRC}/usr/lib/unifi/lib/native
 
 do-install:


More information about the svn-ports-all mailing list