summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2004-07-23 18:39:03 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2004-07-23 18:39:03 +0000
commit752780bd553af9f12d003d2cc6877556a02c4d55 (patch)
treebfbcefcbf2ce9f4a5a2d66fc47b4346177eb0c3f /mail
parentRegister conflicts on xorg-nestserver. (diff)
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
Notes
Notes: svn path=/head/; revision=114507
Diffstat (limited to 'mail')
-rw-r--r--mail/sqwebmail/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/sqwebmail/Makefile b/mail/sqwebmail/Makefile
index 234c017d0f71..3d8d4a3a9f69 100644
--- a/mail/sqwebmail/Makefile
+++ b/mail/sqwebmail/Makefile
@@ -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>