- 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
This commit is contained in:
Pawel Pekala 2016-08-20 13:23:00 +00:00
parent 5b0f7e618e
commit a0fd1717e8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420510

View file

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