pkgsrc/audio/id3/patches/patch-aa
wiz af0505de0b id3: update to 1.0.1.
1.0.1
-----

- Do not explicitly pass "-o 0" to the installation command;
  if running as root, it is not needed, and if not running as root,
  it will only break.
2018-01-28 15:52:16 +00:00

28 lines
809 B
Text

$NetBSD: patch-aa,v 1.5 2018/01/28 15:52:16 wiz Exp $
--- Makefile.orig 2018-01-08 11:01:17.000000000 +0000
+++ Makefile
@@ -27,9 +27,9 @@ INSTALL ?= /usr/bin/install -c
STRIP ?= -s
# Installation directories
-prefix = ${DESTDIR}/usr
+prefix = ${DESTDIR}${PREFIX}
exec_prefix = ${prefix}
-mandir = ${prefix}/share/man/man1
+mandir = ${prefix}/${PKGMANDIR}/man1
bindir = ${exec_prefix}/bin
INCL =
@@ -50,7 +50,7 @@ clean:
rm -f *~ *.o core $(PRODUCT)
install: $(PRODUCT)
- $(INSTALL) -d -m 755 $(bindir)
- $(INSTALL) $(STRIP) -m 755 $(PRODUCT) $(bindir)
- $(INSTALL) -d -m 755 $(mandir)
- $(INSTALL) -m 644 $(PRODUCT).1 $(mandir)
+ $(BSD_INSTALL_PROGRAM_DIR) $(bindir)
+ $(BSD_INSTALL_PROGRAM) $(PRODUCT) $(bindir)
+ $(BSD_INSTALL_MAN_DIR) $(mandir)
+ $(BSD_INSTALL_MAN) $(PRODUCT).1 $(mandir)