aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-09-07 20:26:55 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-09-07 20:26:55 +0000
commit6dd9e14ff6d788e646f2f55a3bec0ebb880de4b4 (patch)
tree8e04053a0f35aac346382df78944863516bfd406 /audio
parentb1f5f2f982665aebe194592885f5074581954d8f (diff)
downloadports-6dd9e14ff6d788e646f2f55a3bec0ebb880de4b4.tar.gz
ports-6dd9e14ff6d788e646f2f55a3bec0ebb880de4b4.zip
Allow staging as a regular user
Notes
Notes: svn path=/head/; revision=367605
Diffstat (limited to 'audio')
-rw-r--r--audio/tosha/files/patch-Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/audio/tosha/files/patch-Makefile b/audio/tosha/files/patch-Makefile
index 5d18495e6a83..a2dae8165ea7 100644
--- a/audio/tosha/files/patch-Makefile
+++ b/audio/tosha/files/patch-Makefile
@@ -1,19 +1,21 @@
---- Makefile.orig 1998-12-16 13:34:09.000000000 +0100
-+++ Makefile 2014-02-16 12:07:47.814820287 +0100
-@@ -54,14 +54,10 @@
+--- Makefile.orig 1998-12-16 12:34:09 UTC
++++ Makefile
+@@ -53,15 +53,10 @@
+ $(CC) $(CFLAGS) -o pcmfade pcmfade.o utils.o
install: $(BINS)
- strip $(BINS)
+- strip $(BINS)
- install -s -g bin -o bin -m 755 $(BINS) $(BINDIR)
- install -c -g bin -o bin -m 644 tosharc $(ETCDIR)
-+ install -s -g bin -o bin -m 755 $(BINS) $(DESTDIR)$(BINDIR)
-+ install -c -g bin -o bin -m 644 tosharc $(DESTDIR)$(ETCDIR)
- install -c -g bin -o bin -m 644 tosha.1 pcmplay.1 pcmfade.1 \
+- install -c -g bin -o bin -m 644 tosha.1 pcmplay.1 pcmfade.1 \
- $(MANDIR)/man1
-.if !defined(NOMANCOMPRESS)
- cd $(MANDIR)/man1 ; \
- $(GZIP_CMD) tosha.1 pcmplay.1 pcmfade.1
-.endif
++ $(BSD_INSTALL_PROGRAM) $(BINS) $(DESTDIR)$(BINDIR)
++ $(BSD_INSTALL_DATA) tosharc $(DESTDIR)$(ETCDIR)
++ $(BSD_INSTALL_MAN) tosha.1 pcmplay.1 pcmfade.1 \
+ $(DESTDIR)$(MANDIR)/man1
clean: