summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2006-01-04 18:51:25 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2006-01-04 18:51:25 +0000
commitcb4148ae31f7638c9aa9f8a01ad797dfcd3ac23a (patch)
treeb00402efb2de11fd948de655f92c9413dcc82c26
parentef7c41ed131e7901c3cd1e998a267876c2627214 (diff)
downloadfreebsd-ports-cb4148ae31f7638c9aa9f8a01ad797dfcd3ac23a.zip
Fix the path to the mime.types [1] and the mime/globs file.
PR: 89162 [1] Stolen from: mail/sylpheed2 [1] Noticed by: Pawel Pekala <c0rn@gazeta.pl> [1]
-rw-r--r--mail/claws-mail/Makefile4
-rw-r--r--mail/sylpheed-claws/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/mail/claws-mail/Makefile b/mail/claws-mail/Makefile
index a62a1f8cdbbb..ad50b1be0713 100644
--- a/mail/claws-mail/Makefile
+++ b/mail/claws-mail/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sylpheed-claws
PORTVERSION= 1.9.100
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail news ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sylpheed-claws
@@ -169,6 +169,8 @@ post-patch:
s|gpgme-config|gpgme03-config|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
${WRKSRC}/tools/README.sylprint ${WRKSRC}/tools/sylprint.pl
+ @${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}&|g ; s|/usr/share|${LOCALBASE}/share|g' \
+ ${WRKSRC}/src/procmime.c
@${REINPLACE_CMD} -e "s|po intl src|po src| ; s:@SYLPHEED_GNOME:#@SYLPHEED_GNOME:g" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s:-Wno-unused-function::" ${WRKSRC}/src/Makefile.in
@for f in `${FIND} ${WRKSRC}/tools -type f -print`; do \
diff --git a/mail/sylpheed-claws/Makefile b/mail/sylpheed-claws/Makefile
index a62a1f8cdbbb..ad50b1be0713 100644
--- a/mail/sylpheed-claws/Makefile
+++ b/mail/sylpheed-claws/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sylpheed-claws
PORTVERSION= 1.9.100
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail news ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sylpheed-claws
@@ -169,6 +169,8 @@ post-patch:
s|gpgme-config|gpgme03-config|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
${WRKSRC}/tools/README.sylprint ${WRKSRC}/tools/sylprint.pl
+ @${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}&|g ; s|/usr/share|${LOCALBASE}/share|g' \
+ ${WRKSRC}/src/procmime.c
@${REINPLACE_CMD} -e "s|po intl src|po src| ; s:@SYLPHEED_GNOME:#@SYLPHEED_GNOME:g" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s:-Wno-unused-function::" ${WRKSRC}/src/Makefile.in
@for f in `${FIND} ${WRKSRC}/tools -type f -print`; do \