diff options
author | nsayer <nsayer@FreeBSD.org> | 2001-04-05 11:21:41 +0800 |
---|---|---|
committer | nsayer <nsayer@FreeBSD.org> | 2001-04-05 11:21:41 +0800 |
commit | 61d131ceda76e708bfa28b0dbff41ad2fd08ea41 (patch) | |
tree | 37b8038f36cc9f5df7c3fedf0581a0a1b9ddb9d8 /mail/pine4 | |
parent | e3e1278a6aafe4e9d71f7a5fde3cd614672d991a (diff) | |
download | freebsd-ports-graphics-61d131ceda76e708bfa28b0dbff41ad2fd08ea41.tar.gz freebsd-ports-graphics-61d131ceda76e708bfa28b0dbff41ad2fd08ea41.tar.zst freebsd-ports-graphics-61d131ceda76e708bfa28b0dbff41ad2fd08ea41.zip |
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
Diffstat (limited to 'mail/pine4')
-rw-r--r-- | mail/pine4/Makefile | 9 | ||||
-rw-r--r-- | mail/pine4/files/patch-ax | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/mail/pine4/Makefile b/mail/pine4/Makefile index 8e13ffbc98e..5948b00b8ea 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 2441d844e96..6348c9d01d9 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) |