summaryrefslogtreecommitdiff
path: root/editors/pico/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'editors/pico/patches/patch-ah')
-rw-r--r--editors/pico/patches/patch-ah45
1 files changed, 45 insertions, 0 deletions
diff --git a/editors/pico/patches/patch-ah b/editors/pico/patches/patch-ah
new file mode 100644
index 00000000000..9513fcb3641
--- /dev/null
+++ b/editors/pico/patches/patch-ah
@@ -0,0 +1,45 @@
+$NetBSD: patch-ah,v 1.1 2005/01/18 03:15:07 jschauma Exp $
+
+--- pico/makefile.sgi.orig Mon Jan 17 22:03:01 2005
++++ pico/makefile.sgi Mon Jan 17 22:04:34 2005
+@@ -32,15 +32,12 @@
+ MAKE= make
+ OPTIMIZE= # -O
+ PROFILE= # -pg
+-DEBUG= -g -DDEBUG
++DEBUG= # -g -DDEBUG
+
+ STDCFLAGS= -Dsgi -DJOB_CONTROL -DMOUSE
+ CFLAGS= $(OPTIMIZE) $(PROFILE) $(DEBUG) $(EXTRACFLAGS) $(STDCFLAGS)
+
+ # switches for library building
+-LIBCMD= ar
+-LIBARGS= ru
+-RANLIB= /bin/true
+
+ LIBS= $(EXTRALDFLAGS) -ltermcap -lc
+
+@@ -55,17 +52,17 @@
+ # dependencies for the Unix versions of pico and libpico.a
+ #
+ all: pico pilot
+-pico pilot: libpico.a
++pico pilot: libpico.la
+
+ pico: main.o
+- $(CC) $(CFLAGS) main.o libpico.a $(LIBS) -o pico
++ $(CC) $(CFLAGS) main.o libpico.la $(LIBS) -o pico
+
+ pilot: pilot.o
+- $(CC) $(CFLAGS) pilot.o libpico.a $(LIBS) -o pilot
++ $(CC) $(CFLAGS) pilot.o libpico.la $(LIBS) -o pilot
+
+-libpico.a: $(OFILES)
+- $(LIBCMD) $(LIBARGS) libpico.a $(OFILES)
+- $(RANLIB) libpico.a
++libpico.la: $(OFILES)
++ $(CC) -o libpico.la $(OFILES:.o=.lo) -rpath $(PREFIX)/lib \
++ -version-info 4:0
+
+ clean:
+ rm -f *.a *.o *~ pico_os.c os.h pico pilot