Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2018 13:36:29 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463398 - head/net-mgmt/unifi-devel
Message-ID:  <201803021336.w22DaTBq094829@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



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