pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Make this compile under NetBSD.
Module Name: pkgsrc-wip
Committed By: Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By: bsiegert
Date: Sun Apr 15 13:29:16 2018 +0200
Changeset: 12906a4b1a99f4149a5c9cae1ee22e419d5a0859
Modified Files:
oranchelo-icon-theme/distinfo
oranchelo-icon-theme/patches/patch-Makefile
Log Message:
Make this compile under NetBSD.
- correct find syntax
- use pax, not cp -r
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=12906a4b1a99f4149a5c9cae1ee22e419d5a0859
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
oranchelo-icon-theme/distinfo | 2 +-
oranchelo-icon-theme/patches/patch-Makefile | 15 +++++++++++++--
2 files changed, 14 insertions(+), 3 deletions(-)
diffs:
diff --git a/oranchelo-icon-theme/distinfo b/oranchelo-icon-theme/distinfo
index 4d25e26fae..528a921a8e 100644
--- a/oranchelo-icon-theme/distinfo
+++ b/oranchelo-icon-theme/distinfo
@@ -4,4 +4,4 @@ SHA1 (oranchelo-icon-theme-0.7.6.6.tar.gz) = adafb7a6b7663b8e2208e15b489f9026eda
RMD160 (oranchelo-icon-theme-0.7.6.6.tar.gz) = 5e0a1ca803b56cfc0d2d83d97bdd3f6111542bb5
SHA512 (oranchelo-icon-theme-0.7.6.6.tar.gz) = 116bab40a9f0410bfb144cea9c4e9e71f76a0d117b1c925ca3e390c7e05d7e383b124c25bfccb20d5d9c0b9a5e20291c7445c38185e6ce9a03a9fe44ea273414
Size (oranchelo-icon-theme-0.7.6.6.tar.gz) = 4645600 bytes
-SHA1 (patch-Makefile) = cd304c8267f168f058d4fe52ff417a2ac0ad71af
+SHA1 (patch-Makefile) = 2b1521d68b6aec9ff7f63052ecfe76b4b6dfefa7
diff --git a/oranchelo-icon-theme/patches/patch-Makefile b/oranchelo-icon-theme/patches/patch-Makefile
index 4d493291fd..59df9b20ce 100644
--- a/oranchelo-icon-theme/patches/patch-Makefile
+++ b/oranchelo-icon-theme/patches/patch-Makefile
@@ -1,11 +1,22 @@
$NetBSD$
Allow overriding PREFIX.
---- Makefile.orig 2018-03-25 18:21:09.000000000 +0000
+--- Makefile.orig 2018-03-25 20:21:09.000000000 +0200
+++ Makefile
-@@ -1,4 +1,4 @@
+@@ -1,13 +1,13 @@
-INSTALLDIR=$(DESTDIR)/usr/share/icons
+INSTALLDIR=$(DESTDIR)$(PREFIX)/share/icons
THEMES_BASE_NAME=Oranchelo
install:
+ # Removing icons execute permissions
+- find -type f -executable -exec chmod -x {} \;
++ find . -type f -exec chmod -x {} \;
+
+ # Installing Oranchelo
+ mkdir -p $(INSTALLDIR)
+- cp -r $(THEMES_BASE_NAME)* $(INSTALLDIR)
++ pax -rw $(THEMES_BASE_NAME)* $(INSTALLDIR)
+
+ uninstall:
+ # Removing Oranchelo
Home |
Main Index |
Thread Index |
Old Index