gawk/gawk-4.1.1-build-baddest.patch
Stephan Kulow c1e40bdfd1 Accepting request 232107 from home:AndreasStieger:branches:Base:System
GNU awk 4.1.1, please review. I am dropping patches and fixes, some of which are are 10 years old.

OBS-URL: https://build.opensuse.org/request/show/232107
OBS-URL: https://build.opensuse.org/package/show/Base:System/gawk?expand=0&rev=37
2014-05-02 09:15:34 +00:00

32 lines
1.3 KiB
Diff

From e3282563daa30a621cfd57ac424b36dd9fd4dbe4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Va=C5=A1=C3=ADk?= <ovasik@redhat.com>
Date: Mon, 21 Apr 2014 11:59:54 +0200
Subject: Fix build failure because of missing destdir in extension Makefile
References: http://pkgs.fedoraproject.org/cgit/gawk.git/commit/?id=e3282563daa30a621cfd57ac424b36dd9fd4dbe4
Upstream: yes
diff -urNp gawk-4.1.1-bak/extension/Makefile.am gawk-4.1.1/extension/Makefile.am
--- gawk-4.1.1-bak/extension/Makefile.am 2014-02-20 19:42:25.000000000 +0100
+++ gawk-4.1.1/extension/Makefile.am 2014-04-21 11:56:49.227755196 +0200
@@ -100,7 +100,7 @@ testext_la_LIBADD = $(MY_LIBS)
install-data-hook:
for i in $(pkgextension_LTLIBRARIES) ; do \
- $(RM) $(pkgextensiondir)/$$i ; \
+ $(RM) ${DESTDIR}$(pkgextensiondir)/$$i ; \
done
# Keep the uninstall check working:
diff -urNp gawk-4.1.1-bak/extension/Makefile.in gawk-4.1.1/extension/Makefile.in
--- gawk-4.1.1-bak/extension/Makefile.in 2014-04-08 18:13:03.000000000 +0200
+++ gawk-4.1.1/extension/Makefile.in 2014-04-21 11:57:54.884756674 +0200
@@ -1231,7 +1231,7 @@ uninstall-man: uninstall-man3
install-data-hook:
for i in $(pkgextension_LTLIBRARIES) ; do \
- $(RM) $(pkgextensiondir)/$$i ; \
+ $(RM) $(DESTDIR)$(pkgextensiondir)/$$i ; \
done
# Keep the uninstall check working: