Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2014 12:29:40 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351677 - in head/lang/gawk: . files
Message-ID:  <201404211229.s3LCTeRi017294@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Mon Apr 21 12:29:40 2014
New Revision: 351677
URL: http://svnweb.freebsd.org/changeset/ports/351677
QAT: https://qat.redports.org/buildarchive/r351677/

Log:
  Fix installation on FreeBSD < 10
  Avoid running undefined RM command on files outside STAGEDIR
  
  Submitted by:   antoine

Added:
  head/lang/gawk/files/patch-extension_Makefile.in   (contents, props changed)
Modified:
  head/lang/gawk/Makefile
  head/lang/gawk/files/patch-Makefile

Modified: head/lang/gawk/Makefile
==============================================================================
--- head/lang/gawk/Makefile	Mon Apr 21 11:36:12 2014	(r351676)
+++ head/lang/gawk/Makefile	Mon Apr 21 12:29:40 2014	(r351677)
@@ -21,9 +21,8 @@ MPFR_CONFIGURE_OFF=	--without-gmp --with
 
 INFO=		gawk gawkinet
 
-USE_XZ=		true
 GNU_CONFIGURE=	yes
-USES=		iconv
+USES=		iconv tar:xz
 CONFIGURE_ARGS=	${ICONV_CONFIGURE_ARG} \
 		--with-libintl-prefix=${LOCALBASE} \
 		AWK=${AWK}

Modified: head/lang/gawk/files/patch-Makefile
==============================================================================
--- head/lang/gawk/files/patch-Makefile	Mon Apr 21 11:36:12 2014	(r351676)
+++ head/lang/gawk/files/patch-Makefile	Mon Apr 21 12:29:40 2014	(r351677)
@@ -1,6 +1,6 @@
---- Makefile.in.orig	2013-05-09 14:59:40.000000000 +0200
-+++ Makefile.in	2013-05-13 16:46:23.000000000 +0200
-@@ -1131,7 +1131,7 @@ uninstall-am: uninstall-binPROGRAMS unin
+--- Makefile.in.orig	2014-04-08 18:12:38.000000000 +0200
++++ Makefile.in	2014-04-21 14:23:45.000000000 +0200
+@@ -1151,7 +1151,7 @@ uninstall-am: uninstall-binPROGRAMS unin
  install-exec-hook:
  	(cd $(DESTDIR)$(bindir); \
  	$(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \

Added: head/lang/gawk/files/patch-extension_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/gawk/files/patch-extension_Makefile.in	Mon Apr 21 12:29:40 2014	(r351677)
@@ -0,0 +1,12 @@
+--- extension/Makefile.in.orig	2014-04-08 18:13:03.000000000 +0200
++++ extension/Makefile.in	2014-04-21 14:26:04.000000000 +0200
+@@ -1230,9 +1230,6 @@ uninstall-man: uninstall-man3
+ 
+ 
+ install-data-hook:
+-	for i in $(pkgextension_LTLIBRARIES) ; do \
+-		$(RM) $(pkgextensiondir)/$$i ; \
+-	done
+ 
+ # Keep the uninstall check working:
+ uninstall-so:



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