Skip to content

Commit

Permalink
gawk: fix destroot failure when upgrading from previous versions on M…
Browse files Browse the repository at this point in the history
…ountain Lion or earlier (https://trac.macports.org/ticket/43406) by fixing the part of the Makefile that removes the extension .la files

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@119180 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
ryandesign committed Apr 19, 2014
1 parent 1c3de89 commit 840872f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lang/gawk/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ PortGroup conflicts_build 1.0

name gawk
version 4.1.1
revision 1
categories lang
license GPL-3+
installs_libs no
Expand All @@ -31,6 +32,8 @@ depends_lib port:gettext \

conflicts_build nawk

patchfiles patch-extensions-Makefile.in.diff

configure.args --with-libiconv-prefix=${prefix} \
ac_cv_libsigsegv=no

Expand Down
11 changes: 11 additions & 0 deletions lang/gawk/files/patch-extensions-Makefile.in.diff
Original file line number Diff line number Diff line change
@@ -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:

0 comments on commit 840872f

Please sign in to comment.