svn commit: r420510 - head/sysutils/modules

Pawel Pekala pawel at FreeBSD.org
Sat Aug 20 13:23:01 UTC 2016


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} \


More information about the svn-ports-all mailing list