svn commit: r481847 - head/devel/ccache

Bryan Drewery bdrewery at FreeBSD.org
Thu Oct 11 19:37:16 UTC 2018


Author: bdrewery
Date: Thu Oct 11 19:37:15 2018
New Revision: 481847
URL: https://svnweb.freebsd.org/changeset/ports/481847

Log:
  Need to define PORTVERSION later due to depending on MEMCACHED option.
  
  This works in poudriere bulk, hopefully it does not cause other problems.

Modified:
  head/devel/ccache/Makefile

Modified: head/devel/ccache/Makefile
==============================================================================
--- head/devel/ccache/Makefile	Thu Oct 11 19:17:04 2018	(r481846)
+++ head/devel/ccache/Makefile	Thu Oct 11 19:37:15 2018	(r481847)
@@ -2,11 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	ccache
-.if defined(OPTIONS_SLAVE) && ${OPTIONS_SLAVE:MMEMCACHED}
-PORTVERSION=	3.5.dev.20180926
-.else
-PORTVERSION=	3.4.3
-.endif
+#PORTVERSION must be set later due to depending on PORT_OPTIONS.
 PORTREVISION=	0
 CATEGORIES=	devel
 MASTER_SITES=	https://www.samba.org/ftp/ccache/ \
@@ -71,6 +67,7 @@ STATIC_LDFLAGS=	-static
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MMEMCACHED}
+PORTVERSION=	3.5.dev.20180926
 USE_GITHUB=	yes
 GH_TAGNAME=	f7712082106bef085515f86ae47e7dbbd2a48b57
 MASTER_SITES=
@@ -81,6 +78,7 @@ ALL_TARGET=	all docs
 PLIST_FILES+=	man/man1/ccache.1.gz
 .endif
 .else
+PORTVERSION=	3.4.3
 # Only needed pre-3.5
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-configure.ac
 .endif


More information about the svn-ports-all mailing list