openbsd-ports/misc/cbb/patches/patch-01
naddy b888b24b27 - Add homepage, remove broken master site, clean-up.
From: Xavier Santolaria <xavier@santolaria.net>

- Fix (TRUE)PREFIX handling.
2003-08-29 15:07:24 +00:00

23 lines
579 B
Plaintext

$OpenBSD: patch-01,v 1.4 2003/08/29 15:07:24 naddy Exp $
--- Makefile.orig 1997-06-12 23:57:50.000000000 +0200
+++ Makefile 2003-08-29 17:03:28.000000000 +0200
@@ -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.0
docs/cbb-man.dvi: docs/cbb-man.tex
(cd docs; \