openbsd-ports/chinese/hc/patches/patch-Makefile

18 lines
469 B
Plaintext
Raw Normal View History

--- Makefile.orig Thu Jan 24 09:08:23 2002
+++ Makefile Thu Jan 24 09:10:05 2002
@@ -5,12 +5,12 @@
b2g:
echo "#! /bin/csh" > b2g
- echo $(PWD)/hc "-m b2g -t" $(PWD)/hc.tab "$$*" >> b2g
+ echo $(PREFIX)/bin/hc "-m b2g -t" $(PREFIX)/share/hc/hc.tab "$$*" >> b2g
chmod a+x b2g
g2b:
echo "#! /bin/csh" > g2b
- echo $(PWD)/hc -m g2b -t $(PWD)/hc.tab "$$*" >> g2b
+ echo $(PREFIX)/bin/hc -m g2b -t $(PREFIX)/share/hc/hc.tab "$$*" >> g2b
chmod a+x g2b
clean: