diff options
author | schmonz <schmonz> | 2002-07-28 05:38:46 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2002-07-28 05:38:46 +0000 |
commit | 372211ddee0d40b6d9d56348108f3c5ded16763f (patch) | |
tree | 105715d5d08b3b5cc13e66df13315f3f224e42f5 /editors/pico/patches | |
parent | e9ca1a8ff45a9da0bce3ff9974db1e95572c2a0a (diff) | |
download | pkgsrc-372211ddee0d40b6d9d56348108f3c5ded16763f.tar.gz |
Build on Darwin.
Diffstat (limited to 'editors/pico/patches')
-rw-r--r-- | editors/pico/patches/patch-af | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/editors/pico/patches/patch-af b/editors/pico/patches/patch-af new file mode 100644 index 00000000000..63e81d4c2b0 --- /dev/null +++ b/editors/pico/patches/patch-af @@ -0,0 +1,39 @@ +$NetBSD: patch-af,v 1.1 2002/07/28 05:39:41 schmonz Exp $ + +--- pico/makefile.osx.orig Tue Oct 23 18:19:08 2001 ++++ pico/makefile.osx +@@ -38,10 +38,6 @@ STDCFLAGS= -Dbsd -DJOB_CONTROL + CFLAGS= $(OPTIMIZE) $(PROFILE) $(DEBUG) $(EXTRACFLAGS) $(STDCFLAGS) + + # switches for library building +-LIBCMD= ar +-LIBARGS= ru +-RANLIB= ranlib +- + LIBS= $(EXTRALDFLAGS) + + OFILES= attach.o basic.o bind.o browse.o buffer.o \ +@@ -55,17 +51,17 @@ HFILES= headers.h estruct.h edef.h efun + # 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 3:1 + + clean: + rm -f *.a *.o *~ pico_os.c os.h pico pilot |