diff options
Diffstat (limited to 'devel/picp/patches/patch-aa')
-rw-r--r-- | devel/picp/patches/patch-aa | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/devel/picp/patches/patch-aa b/devel/picp/patches/patch-aa new file mode 100644 index 00000000000..c6c5960faec --- /dev/null +++ b/devel/picp/patches/patch-aa @@ -0,0 +1,39 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/07/27 05:34:27 dogcow Exp $ + +--- Makefile.orig 2005-07-26 21:37:11.000000000 -0700 ++++ Makefile +@@ -3,11 +3,11 @@ + # PIC programmer interface + # + +-CC=gcc ++CC=$(CXX) + APP=picp +-INCLUDES=-I. +-OPTIONS=-O2 -Wall -x c++ +-CFLAGS=$(INCLUDES) $(OPTIONS) ++INCLUDES+=-I. ++ ++CFLAGS+=$(INCLUDES) $(OPTIONS) + SRCS=main.c serial.c picdev.c record.c parse.c atoi_base.c + OBJECTS = main.o serial.o picdev.o record.o parse.o atoi_base.o + +@@ -19,7 +19,7 @@ WINOBJECTS = main.obj serial.obj picdev. + all: $(APP) + + $(APP): $(OBJECTS) +- $(CC) $(OBJECTS) -lstdc++ -o $(APP) ++ $(CXX) $(OBJECTS) -o $(APP) + strip $(APP) + + clean: +@@ -27,7 +27,8 @@ clean: + rm -f $(APP) + + install: +- cp -f $(APP) /usr/local/bin/ ++ $(INSTALL) -m 755 $(APP) $(PREFIX)/bin/ ++ $(INSTALL) -m 644 PICPmanual.html $(PREFIX)/share/doc/picp/ + + win: $(APP).exe + |