pkgsrc/graphics/cdlabelgen/patches/patch-ab
jlam 6507b4f20d graphics/cdlabelgen: Remove perldoc(1) as a build tool.
There is no documentation in the "cdlabelgen" script that can be
extracted using perldoc(1).  Remove the rule invoking perldoc(1)
and remove the need for perldoc(1) as a build tool, which fixes the
build error due to missing
documentation.

Greatly simplify the patch to the project Makefile by moving some
of the logic in the package Makefile.  Almost no changes to the
package Makefile are needed if the appropriate variables are
overridden on the make(1) command line.
2017-08-23 17:53:55 +00:00

21 lines
650 B
Text

$NetBSD: patch-ab,v 1.13 2017/08/23 17:53:55 jlam Exp $
--- Makefile.orig 2013-03-31 19:37:51.000000000 +0000
+++ Makefile
@@ -25,6 +25,7 @@ DISTFILES = $(SOURCES) $(POSTSCRIPT)
INSTALL := install -m 0755
INSTALL_DIR := install -d -m 0755
INSTALL_FILE := install -m 0644
+INSTALL_MAN := install -m 0644
# Makefile macros....
#1. $@ is the name of the file to be made.
@@ -52,7 +53,7 @@ install: all
@echo ""
$(INSTALL_DIR) $(BIN_DIR)
$(INSTALL) cdlabelgen $(BIN_DIR)
- $(INSTALL_FILE) cdlabelgen.1 $(MAN_DIR)/man1
+ $(INSTALL_MAN) cdlabelgen.1 $(MAN_DIR)/man1
$(INSTALL_DIR) $(LIB_DIR)
set -e; \
for file in $(POSTSCRIPT); do \