setting USE_LIBTOOL_VER forces USE_GNU_CONFIGURE which modifies CONFIGURE_ARGS

and by adding --prefix to it, the port gets installed into a wrong directory.
Thats fixed now.

Noted by:	ale
This commit is contained in:
Oliver Lehmann 2004-07-23 18:39:03 +00:00
parent 57a2ac1061
commit 752780bd55
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114507

View file

@ -77,7 +77,6 @@ CONFIGURE_ARGS= \
--enable-imagedir=${PREFIX}/${WEBDATADIR}/${WEBDATASUBDIR} \
--libexecdir=${PREFIX}/libexec/sqwebmail \
--mandir=${PREFIX}/man \
--prefix=${PREFIX}/share/sqwebmail \
--enable-imageurl=/${IMAGEURL} \
--with-locking-method=fcntl \
--with-libintl-prefix=${LOCALBASE} \
@ -223,6 +222,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|^case x$$lockmethod in|${TEST} \&\& &|g' \
${WRKSRC}/liblock/configure
@${FIND} ${WRKSRC} -name configure | ${XARGS} ${REINPLACE_CMD} \
-e 's|prefix=\$$ac_optarg|&/share/sqwebmail|g'
@${REINPLACE_CMD} -e 's|mkdir -p|${MKDIR}|g' ${WRKSRC}/pcp/configure
@${REINPLACE_CMD} -e 's|@LIBTOOL@|${LIBTOOL}|' \
@ -244,5 +246,4 @@ post-install:
install-configure:
cd ${WRKSRC} && ${GMAKE} install-configure
.include <bsd.port.mk>