summaryrefslogtreecommitdiff
path: root/sys-apps/pnputils/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /sys-apps/pnputils/files
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'sys-apps/pnputils/files')
-rw-r--r--sys-apps/pnputils/files/pnputils-0.1-makefile.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-apps/pnputils/files/pnputils-0.1-makefile.patch b/sys-apps/pnputils/files/pnputils-0.1-makefile.patch
new file mode 100644
index 000000000000..2b158908b5b9
--- /dev/null
+++ b/sys-apps/pnputils/files/pnputils-0.1-makefile.patch
@@ -0,0 +1,24 @@
+--- a/Makefile 2006-07-07 00:54:10.000000000 +0200
++++ b/Makefile 2018-10-27 02:19:51.000000000 +0200
+@@ -1,4 +1,4 @@
+-CFLAGS = -O2 -Wall -Wstrict-prototypes
++CFLAGS += -Wall -Wstrict-prototypes
+
+ VERSION=0.1
+ DATE="July 6, 2006"
+@@ -12,9 +12,12 @@
+ M=`echo $(DATE)`; sed <$< >$@ "s/@TODAY@/$$M/;s/@VERSION@/pnputils-$(VERSION)/;"
+
+ install: all
+- install -m 755 lspnp setpnp /sbin
+- install -m 644 lspnp.8 setpnp.8 /usr/share/man/man8
+- install -m 644 pnp.ids /usr/share/misc
++ install -m 755 -d $(DESTDIR)/usr/sbin
++ install -m 755 lspnp setpnp $(DESTDIR)/usr/sbin
++ install -m 755 -d $(DESTDIR)/usr/share/man/man8
++ install -m 644 lspnp.8 setpnp.8 $(DESTDIR)/usr/share/man/man8
++ install -m 755 -d $(DESTDIR)/usr/share/misc
++ install -m 644 pnp.ids $(DESTDIR)/usr/share/misc
+
+ REL=pnputils-$(VERSION)
+ DISTTMP=/tmp/pnputils-dist