From 6251d99769e3fed6b7dcb3c7b12fb57584761242 Mon Sep 17 00:00:00 2001 From: Sam Lawrance Date: Tue, 13 Sep 2005 22:44:58 +0000 Subject: Add USE_OPENSSL and a simple post-patch to fix build on 4.x Reported by: kris PR: ports/85959 Submitted by: Marcin Wisnicki (maintainer) --- polish/kadu/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/polish/kadu/Makefile b/polish/kadu/Makefile index fefc17d8c5be..9287460f93d1 100644 --- a/polish/kadu/Makefile +++ b/polish/kadu/Makefile @@ -7,6 +7,7 @@ PORTNAME= kadu PORTVERSION= 0.4.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= polish net MASTER_SITES= http://www.kadu.net/download/stable/ @@ -20,12 +21,12 @@ LIB_DEPENDS= gadu.3:${PORTSDIR}/polish/ekg\ USE_BZIP2= yes USE_GMAKE= yes +USE_OPENSSL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-existing-libgadu \ --with-includes="${LOCALBASE}/include" \ --with-libs="${LOCALBASE}/lib" \ - --program-transform-name=''\ - --mandir=${PREFIX}/man + --program-transform-name='' CONFIGURE_ENV= QTDIR="${QT_PREFIX}" USE_QT_VER= 3 @@ -35,6 +36,11 @@ WRKSRC= ${WRKDIR}/${PORTNAME} .include +.if ${OSVERSION} < 500000 +post-patch: + @${ECHO} "MODULE_LDFLAGS=\"-lcrypto\"" >> ${WRKSRC}/modules/encryption/spec +.endif + post-install: ${MKDIR} ${X11BASE}/share/gnome/apps/Internet ${INSTALL_DATA} ${WRKSRC}/kadu/kadu.desktop ${X11BASE}/share/gnome/apps/Internet -- cgit v1.2.3