Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2018 19:37:15 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r481847 - head/devel/ccache
Message-ID:  <201810111937.w9BJbF7B077634@repo.freebsd.org>

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



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