openbsd-ports/misc/cbb/patches/patch-Makefile
stu 57232e795c Make cbb work good enough with Tcl/Tk 8.5.
The fonts are a bit wonky.
Stay at the old version; the new version is very buggy.
Took maintainer(ship).

ok sthen@, landry@
2012-07-04 18:10:06 +00:00

23 lines
549 B
Plaintext

$OpenBSD: patch-Makefile,v 1.2 2012/07/04 18:10:06 stu 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 ${MODTK_BIN}
docs/cbb-man.dvi: docs/cbb-man.tex
(cd docs; \