Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Aug 2016 13:23:00 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420510 - head/sysutils/modules
Message-ID:  <201608201323.u7KDN0YF067159@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sat Aug 20 13:23:00 2016
New Revision: 420510
URL: https://svnweb.freebsd.org/changeset/ports/420510

Log:
  - Don't set --prefix configure argument, it's done automatically
    when GNU_CONFIGURE=yes is set and setting it to LOCALBASE will
    break build when LOCALBASE != PREFIX
  - Use PREFIX instead of LOCALBASE in --with-version-path argument
    parameter which sets directory path creation for reasons
    mentioned earlier
  
  Reported by:	danfe

Modified:
  head/sysutils/modules/Makefile

Modified: head/sysutils/modules/Makefile
==============================================================================
--- head/sysutils/modules/Makefile	Sat Aug 20 12:56:27 2016	(r420509)
+++ head/sysutils/modules/Makefile	Sat Aug 20 13:23:00 2016	(r420510)
@@ -14,9 +14,8 @@ LICENSE=	GPLv2
 
 USES=		tcl
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--prefix=${LOCALBASE} \
-		--without-x \
-		--with-version-path=${LOCALBASE}/Modules/versions \
+CONFIGURE_ARGS=	--without-x \
+		--with-version-path=${PREFIX}/Modules/versions \
 		--mandir=${MANPREFIX}/man \
 		--with-tcl-ver=${TCL_VER:S/.//} \
 		--with-tcl-inc=${TCL_INCLUDEDIR} \



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