From 8cd06967b9beb025ca37f695f18beb6dc45d6a85 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 7 Jun 2010 11:35:58 -0300 Subject: gawk: bump version and migrate to autotargets Closes #1933 Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/gawk/gawk-no-versioned.patch | 49 ++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 package/gawk/gawk-no-versioned.patch (limited to 'package/gawk/gawk-no-versioned.patch') diff --git a/package/gawk/gawk-no-versioned.patch b/package/gawk/gawk-no-versioned.patch new file mode 100644 index 000000000..6f74f5284 --- /dev/null +++ b/package/gawk/gawk-no-versioned.patch @@ -0,0 +1,49 @@ +From 9cb7ff17dd7f81589f0891413efa5d4aec1a1598 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias +Date: Mon, 7 Jun 2010 11:33:50 -0300 +Subject: [PATCH] Disabled versioned installation to save space and use symlinks where it's appropiate + + +Signed-off-by: Gustavo Zacarias +--- + Makefile.in | 3 ++- + doc/Makefile.in | 2 +- + 2 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index f946ee1..a3d467a 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -392,7 +392,7 @@ CLEANFILES = core core.* + MAINTAINERCLEANFILES = version.c + + # We want hard links for install-exec-hook, below +-LN = ln ++LN = $(LN_S) + all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +@@ -993,6 +993,7 @@ uninstall-am: uninstall-binPROGRAMS + # (This is done universally, which may not always be right, but + # there's no easy way to distinguish GNU from non-GNU systems.) + install-exec-hook: ++foo: + (cd $(DESTDIR)$(bindir); \ + $(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \ + $(LN) pgawk$(EXEEXT) pgawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \ +diff --git a/doc/Makefile.in b/doc/Makefile.in +index b1533e7..8b91694 100644 +--- a/doc/Makefile.in ++++ b/doc/Makefile.in +@@ -272,7 +272,7 @@ AWKCARD = awkcard.ps + # make pgawk.1 a link to gawk.1 in the installed man directory. + + # We want hard links for install-data-hook, below +-LN = ln ++LN = $(LN_S) + all: all-am + + .SUFFIXES: +-- +1.6.4.4 + -- cgit v1.2.3