diff options
author | jschauma <jschauma@pkgsrc.org> | 2003-06-18 00:58:12 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2003-06-18 00:58:12 +0000 |
commit | 1da2fe464a1980aa037eff8b5ffb999073d507e8 (patch) | |
tree | e4fd8259a8329506595623571d5871cf41610dae /editors/pico/patches | |
parent | f8d7b9579460c367c55976f6309af6ce9abfd2f6 (diff) | |
download | pkgsrc-1da2fe464a1980aa037eff8b5ffb999073d507e8.tar.gz |
Apply patches provided by Jeremy C. Reed in PR pkg/21887 to make this
build and install cleanly under Linux.
Also improces DESCR.
Diffstat (limited to 'editors/pico/patches')
-rw-r--r-- | editors/pico/patches/patch-ag | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/editors/pico/patches/patch-ag b/editors/pico/patches/patch-ag new file mode 100644 index 00000000000..64d32bce5aa --- /dev/null +++ b/editors/pico/patches/patch-ag @@ -0,0 +1,49 @@ +$NetBSD: patch-ag,v 1.1 2003/06/18 00:58:12 jschauma Exp $ + +--- pico/makefile.lnx.orig Tue Oct 23 15:19:06 2001 ++++ pico/makefile.lnx +@@ -36,18 +36,14 @@ + RM= rm -f + LN= ln -s + MAKE= make +-OPTIMIZE= # -O ++OPTIMIZE= -O2 + PROFILE= # -pg +-DEBUG= -g -DDEBUG ++DEBUG= -g + + STDCFLAGS= -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE + CFLAGS= $(OPTIMIZE) $(PROFILE) $(DEBUG) $(EXTRACFLAGS) $(STDCFLAGS) + + # switches for library building +-LIBCMD= ar +-LIBARGS= ru +-RANLIB= ranlib +- + LIBS= $(EXTRALDFLAGS) -lncurses + + OFILES= attach.o basic.o bind.o browse.o buffer.o \ +@@ -61,17 +57,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 4:0 + + clean: + rm -f *.a *.o *~ pico_os.c os.h pico pilot |