aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-08-12 08:57:49 +0800
committerleeym <leeym@FreeBSD.org>2004-08-12 08:57:49 +0800
commit7a24882a14a9c768b0d9ace9b862e24be0a65417 (patch)
tree5b76f7c6109ee5c59287b6a215f3785ea2c1de6e /mail
parentf73bf9c82f7c13c69dabdb5c4e2b352eb335fe9c (diff)
downloadfreebsd-ports-gnome-7a24882a14a9c768b0d9ace9b862e24be0a65417.tar.gz
freebsd-ports-gnome-7a24882a14a9c768b0d9ace9b862e24be0a65417.tar.zst
freebsd-ports-gnome-7a24882a14a9c768b0d9ace9b862e24be0a65417.zip
OpenWebmail needs to depend on the new name of SpeedyCGI.
Submitted by: Lars Thegler <lars@thegler.dk>
Diffstat (limited to 'mail')
-rw-r--r--mail/openwebmail/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/openwebmail/Makefile b/mail/openwebmail/Makefile
index a6ffa31accaf..e8d7c3eadfab 100644
--- a/mail/openwebmail/Makefile
+++ b/mail/openwebmail/Makefile
@@ -10,7 +10,6 @@ PORTVERSION= 2.32
CATEGORIES= mail
MASTER_SITES= http://openwebmail.org/openwebmail/download/release/ \
http://turtle.ee.ncku.edu.tw/openwebmail/download/release/
-EXTRACT_SUFX= .tar.gz
MAINTAINER= leeym@FreeBSD.org
COMMENT= A webmail system designed to manage big mail folder files efficiently
@@ -36,8 +35,8 @@ PATCH_STRIP= -p1
PLIST= ${WRKDIR}/.PLIST.${PKGNAME}
.if !defined(WITHOUT_SPEEDYCGI)
-BUILD_DEPENDS+= speedy_suid:${PORTSDIR}/www/p5-CGI-SpeedyCGI
-RUN_DEPENDS+= speedy_suid:${PORTSDIR}/www/p5-CGI-SpeedyCGI
+BUILD_DEPENDS+= speedy_suidperl:${PORTSDIR}/www/p5-CGI-SpeedyCGI
+RUN_DEPENDS+= speedy_suidperl:${PORTSDIR}/www/p5-CGI-SpeedyCGI
EXTRA_PATCHES= ${PATCH_WRKSRC}/uty/suidperl2speedy_suid.diff
.else
_CUSTOMIZED= yes
@@ -115,6 +114,9 @@ pre-fetch:
@${ECHO} ""
.endif
+pre-patch:
+ @${PERL} -pi.bak -e 's,${LOCALBASE}/bin/speedy_suid,${LOCALBASE}/bin/speedy_suidperl,g' ${PATCH_WRKSRC}/uty/*.diff
+
post-patch:
@${MV} ${PATCH_WRKSRC}/etc/openwebmail.conf ${PATCH_WRKSRC}/etc/openwebmail.conf-dist
@${PERL} -pi.bak -e 's,${LOCALBASE}/www/cgi-bin/openwebmail,${OWCGIDIR},g' ${PATCH_WRKSRC}/etc/openwebmail.conf-dist