diff --git a/shells/rc/Makefile b/shells/rc/Makefile index ffec66d98e2b..bb15be37aa6f 100644 --- a/shells/rc/Makefile +++ b/shells/rc/Makefile @@ -1,28 +1,28 @@ # Created by: erich@rrnet.com PORTNAME= rc PORTVERSION= 1.7.4 -PORTREVISION= 3 +PORTREVISION= 4 DISTVERSIONPREFIX=v CATEGORIES= shells plan9 MAINTAINER= quanstro@quanstro.net COMMENT= Unix incarnation of the plan9 shell LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf cpe USE_GITHUB= yes GH_ACCOUNT= rakitzis CPE_VENDOR= ${PORTNAME}_project GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-history OPTIONS_DEFINE= READLINE READLINE_USES= readline READLINE_CONFIGURE_ON= --with-edit=readline READLINE_MAKE_ARGS_OFF= CFLAGS="${CFLAGS} -static" .include diff --git a/shells/rc/files/patch-Makefile.am b/shells/rc/files/patch-Makefile.am index 29c867c3a301..3fdc4378b29d 100644 --- a/shells/rc/files/patch-Makefile.am +++ b/shells/rc/files/patch-Makefile.am @@ -1,15 +1,16 @@ ---- Makefile.am.orig 2022-04-28 07:43:21.167704000 -0700 -+++ Makefile.am 2022-04-28 07:47:55.514536000 -0700 -@@ -64,8 +64,8 @@ +--- Makefile.am.orig 2022-05-20 12:55:23.153147000 -0700 ++++ Makefile.am 2022-05-20 12:58:05.878390000 -0700 +@@ -64,8 +64,9 @@ install-exec-hook: if AMC_HISTORY - $(INSTALL_PROGRAM) history $(bindir)/- ;\ - rm -f $(bindir)/--; $(LN) $(bindir)/- $(bindir)/-- ;\ - rm -f $(bindir)/-p; $(LN) $(bindir)/- $(bindir)/-p ;\ - rm -f $(bindir)/--p; $(LN) $(bindir)/- $(bindir)/--p + $(INSTALL_PROGRAM) history $(DESTDIR)$(bindir)/- ;\ -+ rm -f $(bindir)/--; $(LN) $(DESTDIR)$(bindir)/- $(DESTDIR)$(bindir)/-- ;\ -+ rm -f $(bindir)/-p; $(LN) $(DESTDIR)$(bindir)/- $(DESTDIR)$(bindir)/-p ;\ -+ rm -f $(bindir)/--p; $(LN) $(DESTDIR)$(bindir)/- $(DESTDIR)$(bindir)/--p ++ rm -f $(DESTDIR)$(bindir)/-- $(DESTDIR)$(bindir)/-p $(DESTDIR)$(bindir)/--p;\ ++ cp $(DESTDIR)$(bindir)/- $(DESTDIR)$(bindir)/-- ;\ ++ cp $(DESTDIR)$(bindir)/- $(DESTDIR)$(bindir)/--p ;\ ++ cp $(DESTDIR)$(bindir)/- $(DESTDIR)$(bindir)/-p endif