summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-06-02 01:21:25 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-06-02 01:21:25 +0000
commitbdadb86ec41e38383749aa2dc05d8bbcb0917025 (patch)
tree7784dcc618444a22cb9bd5b3ccd908a0c03e7827
parentEnable optional debugging support by specifying WITH_DEBUG or by enabling it (diff)
- Unbreak on 5.x
PR: ports/67457 Submitted by: Andrey Slusar <vasallia@ukr.net>
-rw-r--r--mail/mahogany/Makefile8
-rw-r--r--mail/mahogany/files/patch-c-client-Makefile11
2 files changed, 12 insertions, 7 deletions
diff --git a/mail/mahogany/Makefile b/mail/mahogany/Makefile
index fdad9972b10d..c28472579b28 100644
--- a/mail/mahogany/Makefile
+++ b/mail/mahogany/Makefile
@@ -30,14 +30,8 @@ CONFIGURE_ARGS= --with-python=none \
--with-wx-config=${X11BASE}/bin/wxgtk2-2.4-config
CONFIGURE_ENV= OSTYPE=${OPSYS} CFLAGS="${CFLAGS}"
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} != "i386" || ${OSVERSION} > 502105
-BROKEN= "Does not compile on !i386 or FreeBSD >= 5.x"
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-DOPENSSL_NO_KRB5||' -e 's|-O2|${CFLAGS}|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|$$(DATADIR)/locale|$$(DESTDIR)/share/locale|' ${WRKSRC}/locale/Makefile
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/mail/mahogany/files/patch-c-client-Makefile b/mail/mahogany/files/patch-c-client-Makefile
new file mode 100644
index 000000000000..8efd7196bb62
--- /dev/null
+++ b/mail/mahogany/files/patch-c-client-Makefile
@@ -0,0 +1,11 @@
+--- extra/src/c-client/Makefile.old Tue Jun 1 19:59:40 2004
++++ extra/src/c-client/Makefile Tue Jun 1 20:00:37 2004
+@@ -866,7 +866,7 @@
+ echo $(CC) > CCTYPE
+ echo $(CFLAGS) > CFLAGS
+ echo -DCREATEPROTO=$(CREATEPROTO) -DEMPTYPROTO=$(EMPTYPROTO) \
+- -DMAILSPOOL=\"$(MAILSPOOL)\" \
++ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"$(MAILSPOOL)\" \
+ -DANONYMOUSHOME=\"$(MAILSPOOL)/anonymous\" \
+ -DACTIVEFILE=\"$(ACTIVEFILE)\" -DNEWSSPOOL=\"$(NEWSSPOOL)\" \
+ -DRSHPATH=\"$(RSHPATH)\" -DLOCKPGM=\"$(LOCKPGM)\" > OSCFLAGS