summaryrefslogtreecommitdiff
path: root/mail/pine4
diff options
context:
space:
mode:
authorNick Sayer <nsayer@FreeBSD.org>2001-04-05 03:21:41 +0000
committerNick Sayer <nsayer@FreeBSD.org>2001-04-05 03:21:41 +0000
commit01436013af810a8cc4dba53a30394d502c2ef5e4 (patch)
tree0d2b49359d96fc63fe610173f9f8e4657a051ab3 /mail/pine4
parentUpgrade to 0.1017. (diff)
Mega cclient port SSL commit redux. This time with maintainer approval.
1. Add support for building cclient with SSL. Warn about the possibility that some ports may have been missed and need ssl added at link time. 2. Update cclient and imap-uw to latest versions. 3. Fix pine4 to add ssl libraries. This can be used as a model for what other ports may need to do. 4. Release MAINTAINERship (by request). Submitted by: anders@fix.no Approved by: petef@databits.net
Notes
Notes: svn path=/head/; revision=40861
Diffstat (limited to 'mail/pine4')
-rw-r--r--mail/pine4/Makefile9
-rw-r--r--mail/pine4/files/patch-ax2
2 files changed, 8 insertions, 3 deletions
diff --git a/mail/pine4/Makefile b/mail/pine4/Makefile
index 8e13ffbc98ea..5948b00b8eac 100644
--- a/mail/pine4/Makefile
+++ b/mail/pine4/Makefile
@@ -15,7 +15,7 @@ CATEGORIES= mail news
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/
DISTNAME?= ${PORTNAME}${PORTVERSION}
-MAINTAINER?= petef@databits.net
+MAINTAINER?= ports@freebsd.org
MAN1= pine.1 pico.1 pilot.1
@@ -30,6 +30,11 @@ LDAP_PREFIX?= ${LOCALBASE}
BUILD_DEPENDS+= ${LDAP_PREFIX}/lib/libldap.a:${PORTSDIR}/net/ldap
.endif
+.if defined(WITH_SSL)
+USE_OPENSSL= yes
+EXTRA_OPTS= SSL_LINK="-L${OPENSSLLIB} -lssl -lcrypto"
+.endif
+
pre-fetch:
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
${SH} pkg-install
@@ -60,7 +65,7 @@ post-patch:
.endif
do-build:
- @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./build bsf)
+ @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./build bsf $(EXTRA_OPTS))
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/pico ${PREFIX}/bin/pico
diff --git a/mail/pine4/files/patch-ax b/mail/pine4/files/patch-ax
index 2441d844e966..6348c9d01d96 100644
--- a/mail/pine4/files/patch-ax
+++ b/mail/pine4/files/patch-ax
@@ -17,7 +17,7 @@
-LOCLIBS= $(PICODIR)/libpico.a $(CCLIENTDIR)/c-client.a
-LIBS= $(EXTRALIBES) $(LOCLIBS) $(LDAPLIBS) $(STDLIBS) \
- `cat $(CCLIENTDIR)/LDFLAGS`
-+STDLIBS= -ltermlib -lpam -L$(PREFIX)/lib -lc-client4
++STDLIBS= -ltermlib -lpam -L$(PREFIX)/lib -lc-client4 $(SSL_LINK)
+LOCLIBS= $(PICODIR)/libpico.a
+LIBS= $(EXTRALIBES) $(LOCLIBS) $(LDAPLIBS) $(STDLIBS)