summaryrefslogtreecommitdiff
path: root/mail/elm+ME
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-02-14 23:04:44 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-02-14 23:04:44 +0000
commitb2339a048ea55f43afb1e93381f6df393d36e29c (patch)
tree32f39e401e7064ea957b0cf1e21608ce7dab0468 /mail/elm+ME
parent- Add write permission at post-patch stage to be able to build (diff)
setgid -> setegid patch second stage.
Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=38357
Diffstat (limited to 'mail/elm+ME')
-rw-r--r--mail/elm+ME/Makefile7
-rw-r--r--mail/elm+ME/files/patch-ag24
2 files changed, 17 insertions, 14 deletions
diff --git a/mail/elm+ME/Makefile b/mail/elm+ME/Makefile
index 959800614be5..dfd35221a01e 100644
--- a/mail/elm+ME/Makefile
+++ b/mail/elm+ME/Makefile
@@ -7,6 +7,7 @@
PORTNAME= elm+ME
PORTVERSION= 2.4.88
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= mail
DISTNAME= ${PORTNAME:S/+ME//}-${PORTVERSION:R}ME+${PORTVERSION:E}
@@ -71,14 +72,16 @@ MIMETYPES= elm.mimetypes
# will probably be fixed in the next release, for instance, fake a patch.
# the alternative would be to disable this option in pre-configure script.
post-patch:
- @${PERL} -pi.bsd -e 's,setgid,setegid,' ${WRKSRC}/lib/localmbx.c
+ @${PERL} -pi.fbsd -e 's,setgid,setegid,' \
+ ${WRKSRC}/lib/localmbx.c \
+ ${WRKSRC}/src/init.c ${WRKSRC}/src/lock.c
#
# Post-configure
#
post-configure:
- @${PERL} -pi.bsd -e 's,/usr/local,${PREFIX},' ${WRKSRC}/nls/LANGS
+ @${PERL} -pi.fbsd -e 's,/usr/local,${PREFIX},' ${WRKSRC}/nls/LANGS
#
# Post-install
diff --git a/mail/elm+ME/files/patch-ag b/mail/elm+ME/files/patch-ag
index 9832540a67bc..bb132c1de1b9 100644
--- a/mail/elm+ME/files/patch-ag
+++ b/mail/elm+ME/files/patch-ag
@@ -1,29 +1,29 @@
---- doc/Makefile.SH.orig Fri Dec 29 20:56:43 2000
-+++ doc/Makefile.SH Sun Jan 7 04:39:50 2001
+--- doc/Makefile.SH.orig Tue Feb 6 19:48:15 2001
++++ doc/Makefile.SH Wed Feb 14 19:56:04 2001
@@ -145,6 +145,8 @@
$(SED) 's"#LIB#"$(LIB)"g;' < elmterminal.1 > elmterminal.1.subs
frm.1.subs: frm.1
$(SED) 's"#LIB#"$(LIB)"g;' < frm.1 > frm.1.subs
-+newmail.1.subs: newmail.1
-+ $(SED) 's"#LIB#"$(LIB)"g;' < newmail.1 > newmail.1.subs
++newalias.1.subs: newalias.1
++ $(SED) 's"#LIB#"$(LIB)"g;' < newalias.1 > newalias.1.subs
formatted_pages: catman $(FORMATTED_PAGES_LIST)
-@@ -224,7 +226,7 @@
+@@ -220,7 +222,7 @@
$(CP) $? $@
$(CHMOD) u=rw,go=r $@
--$(MAN)/newmail$(MANEXT): newmail.1
-+$(MAN)/newmail$(MANEXT): newmail.1.subs
- $(RM) $@
+-$(MAN)/newalias$(MANEXT): newalias.1
++$(MAN)/newalias$(MANEXT): newalias.1.subs
$(CP) $? $@
$(CHMOD) u=rw,go=r $@
-@@ -425,7 +427,7 @@
+
+@@ -416,7 +418,7 @@
true ; \
fi
--catman/newmail$(CATMANEXT)$(SUFFIX): newmail.1
-+catman/newmail$(CATMANEXT)$(SUFFIX): newmail.1.subs
- $(MANROFF) $(MANROFF_OPTS) -man $? > catman/newmail$(CATMANEXT)
+-catman/newalias$(CATMANEXT)$(SUFFIX): newalias.1
++catman/newalias$(CATMANEXT)$(SUFFIX): newalias.1.subs
+ $(MANROFF) $(MANROFF_OPTS) -man $? > catman/newalias$(CATMANEXT)
@if $(TEST) "$(PACKED)" = y ; then \
$(RM) $@ ; \