aboutsummaryrefslogtreecommitdiffstats
path: root/mail/elm+ME
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-02-15 07:04:44 +0800
committersf <sf@FreeBSD.org>2001-02-15 07:04:44 +0800
commit27fbc21a2dc2f10669b2e6e5f0e461f190926e4c (patch)
tree805ffd2690ff39f62b932df4b27f8847c3ac461a /mail/elm+ME
parent22d9f595372eedf2fd95c3a317cdd833ce74f18f (diff)
downloadfreebsd-ports-graphics-27fbc21a2dc2f10669b2e6e5f0e461f190926e4c.tar.gz
freebsd-ports-graphics-27fbc21a2dc2f10669b2e6e5f0e461f190926e4c.tar.zst
freebsd-ports-graphics-27fbc21a2dc2f10669b2e6e5f0e461f190926e4c.zip
setgid -> setegid patch second stage.
Submitted by: maintainer
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 959800614be..dfd35221a01 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 9832540a67b..bb132c1de1b 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) $@ ; \