diff options
Diffstat (limited to 'devel/picprog/files/patch-ab')
-rw-r--r-- | devel/picprog/files/patch-ab | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/devel/picprog/files/patch-ab b/devel/picprog/files/patch-ab new file mode 100644 index 000000000000..352ffddfdf4c --- /dev/null +++ b/devel/picprog/files/patch-ab @@ -0,0 +1,31 @@ +--- Makefile.orig Mon Jun 2 06:37:54 1997 ++++ Makefile Sun Oct 31 09:02:37 1999 +@@ -28,9 +28,10 @@ + + VERSION=1.0 + +-CXX=g++ +-CXXFLAGS=-O2 -Wall -Wmissing-prototypes +-LDFLAGS= ++CXX?=g++ ++CXXFLAGS?=-O2 -Wall -Wmissing-prototypes ++CXXFLAGS+=-I$(PREFIX)/include ++LDFLAGS=-L$(PREFIX)/lib -lgnugetopt + + OBJS=main.o picport.o hexfile.o program.o stringc.o + PROG=picprog +@@ -53,12 +54,5 @@ + $(PROG)-$(VERSION)/*.{html,gif,diff,1,h,cc} + + install: all +- install -c -o 0 -g 0 -m 755 -s $(PROG) /usr/local/bin/ +- install -c -o 0 -g 0 -m 644 *.1 /usr/local/man/man1/ +- +-# +-# include a dependency file if one exists +-# +-ifeq (.depend,$(wildcard .depend)) +-include .depend +-endif ++ install -c -o 0 -g 0 -m 755 -s $(PROG) $(PREFIX)/bin ++ install -c -o 0 -g 0 -m 444 *.1 $(PREFIX)/man/man1 |