freebsd-ports/lang/yabasic/files/patch-aa

28 lines
984 B
Plaintext
Raw Normal View History

2000-01-02 08:52:21 -05:00
--- Makefile.in.orig Fri Dec 31 07:47:00 1999
+++ Makefile.in Sun Jan 2 21:44:26 2000
@@ -6,10 +6,10 @@
# including flex and yacc translations.
# define location where yabasic will search for libraries
-library_path = /usr/lib/yabasic
+library_path = $(PREFIX)/lib/yabasic
# flags for cc or gcc (-g for debugging)
2000-01-02 08:52:21 -05:00
-ccflags = -DUNIX -DLIBRARY_PATH=\"$(library_path)\"
+ccflags = -DUNIX -DLIBRARY_PATH=\"$(library_path)\" $(CFLAGS)
yab: main.o graphic.o function.o symbol.o io.o bison.o flex.o
@CC@ @CCOPTIONS@ $(ccflags) @X_CFLAGS@ \
@@ -63,8 +63,8 @@
# install yabasic on a linux system, need to be root
install:
- install -s -m 755 -o 0 -g 0 yabasic /usr/bin/yabasic
- install -m 644 -d -o 0 -g 0 /usr/doc/yabasic
- install -m 644 -o 0 -g 0 yabasic.htm /usr/doc/yabasic
+ install -c -s -m 755 -o 0 -g 0 yabasic $(PREFIX)/bin/yabasic
2000-01-02 08:52:21 -05:00
+ install -m 644 -d -o 0 -g 0 $(PREFIX)/share/doc/yabasic
+ install -c -m 644 -o 0 -g 0 yabasic.htm $(PREFIX)/share/doc/yabasic