diff options
author | obrien <obrien@FreeBSD.org> | 2000-11-25 06:35:44 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-11-25 06:35:44 +0800 |
commit | 55ef1f4e3f4e116603b941c34e88088e6d69c720 (patch) | |
tree | 08b062a94dade214b4aac70c0af072cb391dedfc /mail | |
parent | 3fe1ca84b4a465f2f1f0a30dbe6949fb2076c52b (diff) | |
download | freebsd-ports-gnome-55ef1f4e3f4e116603b941c34e88088e6d69c720.tar.gz freebsd-ports-gnome-55ef1f4e3f4e116603b941c34e88088e6d69c720.tar.zst freebsd-ports-gnome-55ef1f4e3f4e116603b941c34e88088e6d69c720.zip |
* Don't use Gmake (Makefile changed from using $^ to $>).
* Link against libgcc_pic.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/muttzilla/Makefile | 2 | ||||
-rw-r--r-- | mail/muttzilla/files/patch-Makefile | 25 |
2 files changed, 8 insertions, 19 deletions
diff --git a/mail/muttzilla/Makefile b/mail/muttzilla/Makefile index b8a0e3331f29..a1550aa34995 100644 --- a/mail/muttzilla/Makefile +++ b/mail/muttzilla/Makefile @@ -13,8 +13,6 @@ MASTER_SITES= http://www3.bc.sympatico.ca/brian_winters/mutt/ MAINTAINER= obrien@FreeBSD.org -USE_GMAKE= yes - pre-configure: @${PERL} -pi.orig \ -e "s:/etc/muttzilla.conf:${PREFIX}/etc/muttzilla.conf:g" \ diff --git a/mail/muttzilla/files/patch-Makefile b/mail/muttzilla/files/patch-Makefile index b740b321e55a..39bca71404c4 100644 --- a/mail/muttzilla/files/patch-Makefile +++ b/mail/muttzilla/files/patch-Makefile @@ -1,25 +1,19 @@ --- Makefile.orig Wed Jan 26 23:11:08 2000 -+++ Makefile Fri Feb 4 15:52:52 2000 -@@ -1,12 +1,11 @@ ++++ Makefile Fri Nov 24 14:33:13 2000 +@@ -1 +1 @@ -CFLAGS = -O2 -Wall - LDFLAGS = -G -lc - - OBJS = muttzilla.o mzargs.o mzbase.o mzmail.o mznews.o nsapi.o - TARGET = muttzilla.so - ++CFLAGS += -Wall +@@ -7,3 +7,3 @@ -BINDIR = /usr/local/bin -LIBDIR = /usr/local/lib -ETCDIR = /etc +BINDIR = ${PREFIX}/bin +LIBDIR = ${PREFIX}/lib +ETCDIR = ${PREFIX}/etc - - MZLIBDIR = $(LIBDIR)/muttzilla - MAILERLIBS = mutt pine dtmail VM tin -@@ -24,11 +23,11 @@ - rm -f $(TARGET) - - install: $(TARGET) +@@ -18 +18 @@ +- $(LD) $(LDFLAGS) -o $@ $^ ++ $(LD) $(LDFLAGS) -o $@ $> /usr/lib/libgcc_pic.a +@@ -27,5 +27,5 @@ - install --mode=0755 muttzilla.so $(LIBDIR) - install --mode=0755 -d $(MZLIBDIR) - install --mode=0755 mzmail.sh mzmail.py mznews.sh mznews.py $(BINDIR) @@ -30,6 +24,3 @@ + install -m 0755 -c mzmail.sh mzmail.py mznews.sh mznews.py $(BINDIR) + install -m 0644 -c $(MAILERLIBS) $(MZLIBDIR) + install -m 0644 -c muttzilla.conf $(ETCDIR) - - muttzilla.o: muttzilla.c - mzargs.o: mzargs.c muttzilla.h |