openbsd-ports/misc/cbb/patches/patch-Makefile
2022-03-11 19:38:05 +00:00

22 lines
488 B
Plaintext

--- Makefile.orig Thu Jun 12 23:57:50 1997
+++ Makefile Sat Jul 28 12:55:51 2007
@@ -26,14 +26,16 @@
CBB_ROOT = cbb-0.73
TAR = tar
-PERL = perl
+PERL = /usr/bin/perl
all:
@echo "Nothing is needed to build in advance of 'make install'"
install:
- $(PERL) install.pl
+ $(PERL) install.pl --prefix ${TRUEPREFIX} --libdir ${TRUEPREFIX}/share/cbb \
+ --destdir ${PREFIX} --perlpath /usr/bin/perl \
+ --wishpath ${MODTK_BIN}
docs/cbb-man.dvi: docs/cbb-man.tex
(cd docs; \