1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/www/chtml/files/patch-makefile

79 lines
2.3 KiB
Plaintext

--- makefile.orig Mon Jun 22 20:43:44 1998
+++ makefile Fri Jul 22 09:42:30 2005
@@ -9,7 +9,7 @@
INSTALL_BINDIR=/usr/local/bin
INSTALL_INCDIR=/usr/local/include
INSTALL_SIODDIR=/usr/local/lib/siod
-INSTALL_PERLDIR=/usr/local/lib/perl5/site_perl
+INSTALL_PERLDIR=$(SITE_PERL)
INSTALL_DEMODIR=$$HOME/public_html/chtml
#CFLAGS=-g -Wall
@@ -17,7 +17,7 @@
.SUFFIXES: .html .html-bin .smd .cgi .pl .cgi .scm .cgi
.html.html-bin:
- chtml $< :o=$@
+ ./chtml $< :o=$@
.pl.cgi:
echo "#!`which perl`" > $@
@@ -106,7 +106,7 @@
-mkdir $(INSTALL_BINDIR)
-mkdir $(INSTALL_INCDIR)
-mkdir $(INSTALL_SIODDIR)
- -mkdir $(INSTALL_PERLDIR)
+ -mkdir -p $(INSTALL_PERLDIR)
cp -f chtml.1 $(INSTALL_MANDIR)
cp -f libchtml.a $(INSTALL_LIBDIR)
cp -f chtml $(INSTALL_BINDIR)
@@ -191,7 +191,7 @@
pure_chtmlt.err: pure_chtmlt
- pure_chtmlt 2> pure_chtmlt.err
+ ./pure_chtmlt 2> pure_chtmlt.err
pure_next.err: pure_next.cgi
(PATH_INFO=/homes.html-bin; export PATH_INFO; pure_next.cgi 2> pure_next.err)
@@ -201,31 +201,31 @@
chtml.scm chtml-cmp.scm
chtml-cmp.c-bin: chtml-cmp.c
- chtml chtml-cmp.c :o=chtml-cmp.c-bin
+ ./chtml chtml-cmp.c :o=chtml-cmp.c-bin
idiom_test: all link.html-bin-bin link_html-bin-bin.c link_html-bin-bin.scm
- chtmlt link.html-bin-bin
+ ./chtmlt link.html-bin-bin
link.html-bin-bin: link.html-bin link1.html-bin link2.html-bin
- chtml -v03 :action=link link.html-bin link1.html-bin link2.html-bin
+ ./chtml -v03 :action=link link.html-bin link1.html-bin link2.html-bin
link_html-bin-bin.c: link.html-bin link1.html-bin link2.html-bin
- chtml -v03 :action=link link.html-bin link1.html-bin link2.html-bin \
+ ./chtml -v03 :action=link link.html-bin link1.html-bin link2.html-bin \
:o=link_html-bin-bin.c :p=c
link_html-bin-bin.scm: link.html-bin link1.html-bin link2.html-bin
- chtml -v03 :action=link link.html-bin link1.html-bin link2.html-bin \
+ ./chtml -v03 :action=link link.html-bin link1.html-bin link2.html-bin \
:o=link_html-bin-bin.scm :p=read
link.html-bin: link.html
- chtml -v02 link.html
+ ./chtml -v02 link.html
link1.html-bin: link1.html
- chtml -v02 link1.html
+ ./chtml -v02 link1.html
link2.html-bin: link2.html
- chtml -v02 link2.html
+ ./chtml -v02 link2.html
# these targets are is of local use only.