Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2014 17:43:41 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347286 - in head/shells/rc: . files
Message-ID:  <201403061743.s26HhfMq017292@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Mar  6 17:43:41 2014
New Revision: 347286
URL: http://svnweb.freebsd.org/changeset/ports/347286
QAT: https://qat.redports.org/buildarchive/r347286/

Log:
  Support stage

Added:
  head/shells/rc/files/
  head/shells/rc/files/patch-Makefile.in   (contents, props changed)
Modified:
  head/shells/rc/Makefile
  head/shells/rc/pkg-plist

Modified: head/shells/rc/Makefile
==============================================================================
--- head/shells/rc/Makefile	Thu Mar  6 17:38:47 2014	(r347285)
+++ head/shells/rc/Makefile	Thu Mar  6 17:43:41 2014	(r347286)
@@ -8,24 +8,16 @@ MASTER_SITES=	ftp://rc.quanstro.net/pub/
 		ftp://quenix2.dyndns.org/FreeBSD/ports/distfiles/
 
 MAINTAINER=	quanstro@quanstro.net
-COMMENT=	A unix incarnation of the plan9 shell
+COMMENT=	Unix incarnation of the plan9 shell
 
 USE_BZIP2=	YES
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-history
-MAN1=		history.1 rc.1
-
 
 OPTIONS_DEFINE=	READLINE
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MREADLINE}
-USES+=		readline
-CONFIGURE_ARGS+=	--with-readline
-.else
-MAKE_ARGS+=	CFLAGS="$(CFLAGS) -static"
-.endif
+READLINE_USES+=		readline
+READLINE_CONFIGURE_WITH+=	--with-readline
+READLINE_MAKE_ARGS_OFF+=	CFLAGS="$(CFLAGS) -static"
 
 .include <bsd.port.mk>

Added: head/shells/rc/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/shells/rc/files/patch-Makefile.in	Thu Mar  6 17:43:41 2014	(r347286)
@@ -0,0 +1,17 @@
+--- ./Makefile.in.orig	2003-07-17 14:24:25.000000000 +0200
++++ ./Makefile.in	2014-03-06 18:42:44.943985391 +0100
+@@ -716,10 +716,10 @@
+ 	./rc -p < $(srcdir)/trip.rc
+ 
+ install-exec-hook:
+-@AMC_HISTORY_TRUE@	$(INSTALL_PROGRAM) history $(bindir)/- ;\
+-@AMC_HISTORY_TRUE@	rm -f $(bindir)/--;  $(LN) $(bindir)/- $(bindir)/-- ;\
+-@AMC_HISTORY_TRUE@	rm -f $(bindir)/-p;  $(LN) $(bindir)/- $(bindir)/-p ;\
+-@AMC_HISTORY_TRUE@	rm -f $(bindir)/--p; $(LN) $(bindir)/- $(bindir)/--p
++@AMC_HISTORY_TRUE@	$(INSTALL_PROGRAM) history $(DESTDIR)$(bindir)/- ;\
++@AMC_HISTORY_TRUE@	rm -f $(DESTDIR)$(bindir)/--;  $(LN) $(DESTDIR)$(bindir)/- $(DESTDIR)$(bindir)/-- ;\
++@AMC_HISTORY_TRUE@	rm -f $(DESTDIR)$(bindir)/-p;  $(LN) $(DESTDIR)$(bindir)/- $(DESTDIR)$(bindir)/-p ;\
++@AMC_HISTORY_TRUE@	rm -f $(DESTDIR)$(bindir)/--p; $(LN) $(DESTDIR)$(bindir)/- $(DESTDIR)$(bindir)/--p
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:

Modified: head/shells/rc/pkg-plist
==============================================================================
--- head/shells/rc/pkg-plist	Thu Mar  6 17:38:47 2014	(r347285)
+++ head/shells/rc/pkg-plist	Thu Mar  6 17:43:41 2014	(r347286)
@@ -3,3 +3,5 @@ bin/-
 bin/--
 bin/-p
 bin/--p
+man/man1/history.1.gz
+man/man1/rc.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403061743.s26HhfMq017292>