diff options
Diffstat (limited to 'mail/sqwebmail/Makefile')
-rw-r--r-- | mail/sqwebmail/Makefile | 5 |
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> |