Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2017 00:56:27 +0000 (UTC)
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454584 - head/www/unit
Message-ID:  <201711210056.vAL0uRAl063875@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: osa
Date: Tue Nov 21 00:56:27 2017
New Revision: 454584
URL: https://svnweb.freebsd.org/changeset/ports/454584

Log:
  Use LOCALBASE instead of PREFIX for installed dependences.
  
  Bump PORTREVISION.

Modified:
  head/www/unit/Makefile

Modified: head/www/unit/Makefile
==============================================================================
--- head/www/unit/Makefile	Mon Nov 20 23:33:36 2017	(r454583)
+++ head/www/unit/Makefile	Tue Nov 21 00:56:27 2017	(r454584)
@@ -3,6 +3,7 @@
 
 PORTNAME=	unit
 PORTVERSION=	0.2
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://unit.nginx.org/download/
 
@@ -133,22 +134,23 @@ PLIST_FILES+=	libexec/unit/python3.6.unit.so
 
 post-configure:
 .if ${PORT_OPTIONS:MGO}
-	@cd ${WRKSRC} && ./configure go --go=${PREFIX}/bin/go --go-path=${PREFIX}/go
+	@cd ${WRKSRC} && ./configure go --go=${LOCALBASE}/bin/go --go-path=${LOCALBASE}/go
 .endif
 .if ${PORT_OPTIONS:MPHP}
-	@cd ${WRKSRC} && ./configure php --config=${PREFIX}/bin/php-config --lib-path="${PREFIX}/lib"
+	@cd ${WRKSRC} && ./configure php --config=${LOCALBASE}/bin/php-config \
+		--lib-path="${LOCALBASE}/lib"
 .endif
 .if ${PORT_OPTIONS:MPYTHON27}
-	@cd ${WRKSRC} && ./configure python --config=${PREFIX}/bin/python2.7-config
+	@cd ${WRKSRC} && ./configure python --config=${LOCALBASE}/bin/python2.7-config
 .endif
 .if ${PORT_OPTIONS:MPYTHON34}
-	@cd ${WRKSRC} && ./configure python --config=${PREFIX}/bin/python3.4-config
+	@cd ${WRKSRC} && ./configure python --config=${LOCALBASE}/bin/python3.4-config
 .endif
 .if ${PORT_OPTIONS:MPYTHON35}
-	@cd ${WRKSRC} && ./configure python --config=${PREFIX}/bin/python3.5-config
+	@cd ${WRKSRC} && ./configure python --config=${LOCALBASE}/bin/python3.5-config
 .endif
 .if ${PORT_OPTIONS:MPYTHON36}
-	@cd ${WRKSRC} && ./configure python --config=${PREFIX}/bin/python3.6-config
+	@cd ${WRKSRC} && ./configure python --config=${LOCALBASE}/bin/python3.6-config
 .endif
 
 post-install:



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