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 | |
parent | e71fb8b5b0780e040a0a8db8d1b3deababaf02e4 (diff) | |
download | pkgsrc-842b7d513d7e1897effbf2389d1f2b096ac08416.tar.gz |
Build on Darwin.
-rw-r--r-- | editors/pico/Makefile | 4 | ||||
-rw-r--r-- | editors/pico/distinfo | 3 | ||||
-rw-r--r-- | editors/pico/patches/patch-af | 39 | ||||
-rw-r--r-- | mail/imap-uw/Makefile | 6 |
4 files changed, 48 insertions, 4 deletions
diff --git a/editors/pico/Makefile b/editors/pico/Makefile index 533bcba858c..990d135a14a 100644 --- a/editors/pico/Makefile +++ b/editors/pico/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2002/05/29 14:45:57 yyamano Exp $ +# $NetBSD: Makefile,v 1.31 2002/07/28 05:39:40 schmonz Exp $ # DISTNAME= pine4.44 @@ -19,6 +19,8 @@ USE_LIBTOOL= # defined .if ${OPSYS} == "SunOS" BUILDNAME= so5 +.elif ${OPSYS} == "Darwin" +BUILDNAME= osx .else BUILDNAME= neb .endif diff --git a/editors/pico/distinfo b/editors/pico/distinfo index d1938bdfa40..2f1c6df7a3c 100644 --- a/editors/pico/distinfo +++ b/editors/pico/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2002/01/13 21:52:32 hubertf Exp $ +$NetBSD: distinfo,v 1.6 2002/07/28 05:39:41 schmonz Exp $ SHA1 (pine4.44.tar.gz) = 0657a5bd51cacc300260224320ee114c0b2b26e5 Size (pine4.44.tar.gz) = 3478476 bytes @@ -7,3 +7,4 @@ SHA1 (patch-ab) = 341ce106598c7bcead07fc18a2a557984339912d SHA1 (patch-ac) = 162250bf37092c9c24a0b18a1fca2e588cf66221 SHA1 (patch-ad) = 1180abc4909f4120ec91ba14854da9445be3ac6a SHA1 (patch-ae) = 2e027bdc0597abcd9bb4272744887c9e54a9efe8 +SHA1 (patch-af) = 5a8f33b79f9e8feeef524c460aca5c6c230ba244 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 diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile index 6db6928d600..1dd909da6a2 100644 --- a/mail/imap-uw/Makefile +++ b/mail/imap-uw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.41 2002/06/21 14:13:36 abs Exp $ +# $NetBSD: Makefile,v 1.42 2002/07/28 05:38:46 schmonz Exp $ DISTNAME= imap-2001a PKGNAME= imap-uw-2001.1 @@ -24,7 +24,9 @@ DOC_DIR= ${PREFIX}/share/doc/imap-uw .if ${OPSYS} == "SunOS" ALL_TARGET= gso .elif ${OPSYS} == "Linux" -ALL_TARGET= lrh +ALL_TARGET= lrh +.elif ${OPSYS} == "Darwin" +ALL_TARGET= osx .else ALL_TARGET= neb .endif |