openbsd-ports/misc/cbb/patches/patch-Makefile
2007-07-30 15:30:26 +00:00

23 lines
564 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1 2007/07/30 15:30:27 steven Exp $
--- 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 ${LOCALBASE}/bin/wish8.4
docs/cbb-man.dvi: docs/cbb-man.tex
(cd docs; \