From 51cd181c27f95e0680b8d9843e62c6f7bb83497d Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 12 Aug 2016 16:13:36 -0400 Subject: x11-plugins/ascpu: new revision that respects LDFLAGS. This revision updates to EAPI=6 and cleans up the ebuild a bit. It contains a notable improvement, Michael Mair-Keimberger's patch to append LDFLAGS to the link command. Gentoo-Bug: 337915 Package-Manager: portage-2.2.28 --- x11-plugins/ascpu/files/ascpu-1.11-gentoo-r1.patch | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 x11-plugins/ascpu/files/ascpu-1.11-gentoo-r1.patch (limited to 'x11-plugins/ascpu/files') diff --git a/x11-plugins/ascpu/files/ascpu-1.11-gentoo-r1.patch b/x11-plugins/ascpu/files/ascpu-1.11-gentoo-r1.patch new file mode 100644 index 000000000000..868c1d53b96a --- /dev/null +++ b/x11-plugins/ascpu/files/ascpu-1.11-gentoo-r1.patch @@ -0,0 +1,46 @@ +--- a/autoconf/Makefile.common.in 1999-05-06 23:35:32.000000000 +0200 ++++ b/autoconf/Makefile.common.in 2006-09-11 23:07:41.000000000 +0200 +@@ -9,11 +9,10 @@ + install: install.bin install.man + + install.bin: $(PROG) +- $(STRIP) $(PROG) +- $(INSTALL_PROGRAM) $(PROG) $(AFTER_BIN_DIR) ++ $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(AFTER_BIN_DIR) + + install.man: +- $(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1x ++ $(INSTALL_DATA) $(PROG).man $(DESTDIR)$(AFTER_MAN_DIR)/$(PROG).1x + + uninstall: + $(RMF) $(AFTER_BIN_DIR)/$(PROG) +--- a/autoconf/Makefile.defines.in 1999-05-06 23:35:32.000000000 +0200 ++++ b/autoconf/Makefile.defines.in 2006-09-11 23:17:40.000000000 +0200 +@@ -2,6 +2,7 @@ + # Copyright (c) 1998, Guylhem AZNAR + # + ++DESTDIR = + CC = @CC@ + CCFLAGS = @CFLAGS@ + # -march=pentiumpro -mcpu=pentiumpro +@@ -21,7 +22,7 @@ + LEXFLAGS = + + INSTALL = @INSTALL@ +-INSTALL_PROGRAM = @INSTALL@ -s -m 755 ++INSTALL_PROGRAM = @INSTALL@ -m 755 + INSTALL_DATA = @INSTALL@ -m 644 + + INCS_X = @X_CFLAGS@ +--- a/autoconf/Makefile.common.in 1999-05-06 23:35:32.000000000 +0200 ++++ b/autoconf/Makefile.common.in 2013-03-18 18:13:05.550047149 +0100 +@@ -34,7 +34,7 @@ + done + + $(PROG): $(OBJS) +- $(CC) $(OBJS) $(LIBRARIES) $(EXTRA_LIBRARIES) -o $(@) ++ $(CC) $(OBJS) $(LIBRARIES) $(EXTRA_LIBRARIES) -o $(@) $(LDFLAGS) + + .c.o: + $(CC) $(CCFLAGS) $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -c $*.c -- cgit v1.2.3-65-gdbad