diff options
author | schmonz <schmonz@pkgsrc.org> | 2002-07-28 05:38:46 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2002-07-28 05:38:46 +0000 |
commit | 842b7d513d7e1897effbf2389d1f2b096ac08416 (patch) | |
tree | 105715d5d08b3b5cc13e66df13315f3f224e42f5 /editors/pico/patches | |
parent | e71fb8b5b0780e040a0a8db8d1b3deababaf02e4 (diff) | |
download | pkgsrc-842b7d513d7e1897effbf2389d1f2b096ac08416.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 |