[119180] trunk/dports/lang/gawk

ryandesign at macports.org ryandesign at macports.org
Fri Apr 18 18:30:11 PDT 2014


Revision: 119180
          https://trac.macports.org/changeset/119180
Author:   ryandesign at macports.org
Date:     2014-04-18 18:30:10 -0700 (Fri, 18 Apr 2014)
Log Message:
-----------
gawk: fix destroot failure when upgrading from previous versions on Mountain Lion or earlier (#43406) by fixing the part of the Makefile that removes the extension .la files

Modified Paths:
--------------
    trunk/dports/lang/gawk/Portfile

Added Paths:
-----------
    trunk/dports/lang/gawk/files/
    trunk/dports/lang/gawk/files/patch-extensions-Makefile.in.diff

Modified: trunk/dports/lang/gawk/Portfile
===================================================================
--- trunk/dports/lang/gawk/Portfile	2014-04-19 00:11:10 UTC (rev 119179)
+++ trunk/dports/lang/gawk/Portfile	2014-04-19 01:30:10 UTC (rev 119180)
@@ -6,6 +6,7 @@
 
 name                    gawk
 version                 4.1.1
+revision                1
 categories              lang
 license                 GPL-3+
 installs_libs           no
@@ -31,6 +32,8 @@
 
 conflicts_build         nawk
 
+patchfiles              patch-extensions-Makefile.in.diff
+
 configure.args          --with-libiconv-prefix=${prefix} \
                         ac_cv_libsigsegv=no
 

Added: trunk/dports/lang/gawk/files/patch-extensions-Makefile.in.diff
===================================================================
--- trunk/dports/lang/gawk/files/patch-extensions-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/lang/gawk/files/patch-extensions-Makefile.in.diff	2014-04-19 01:30:10 UTC (rev 119180)
@@ -0,0 +1,11 @@
+--- extension/Makefile.in.orig	2014-04-08 11:13:03.000000000 -0500
++++ extension/Makefile.in	2014-04-18 19:52:28.000000000 -0500
+@@ -1231,7 +1231,7 @@
+ 
+ install-data-hook:
+ 	for i in $(pkgextension_LTLIBRARIES) ; do \
+-		$(RM) $(pkgextensiondir)/$$i ; \
++		$(RM) $(DESTDIR)$(pkgextensiondir)/$$i ; \
+ 	done
+ 
+ # Keep the uninstall check working:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140418/dd65532b/attachment.html>


More information about the macports-changes mailing list