diff options
author | lawrance <lawrance@FreeBSD.org> | 2005-09-14 06:44:58 +0800 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2005-09-14 06:44:58 +0800 |
commit | 777a8bc1c7fea5c2b264cafd1a2a91e881e940a8 (patch) | |
tree | 4705c48dd8d564c880b1a66099dd06b040945261 /polish | |
parent | c57b4f0aa433bb75903e3981a586a2dac697effd (diff) | |
download | freebsd-ports-gnome-777a8bc1c7fea5c2b264cafd1a2a91e881e940a8.tar.gz freebsd-ports-gnome-777a8bc1c7fea5c2b264cafd1a2a91e881e940a8.tar.zst freebsd-ports-gnome-777a8bc1c7fea5c2b264cafd1a2a91e881e940a8.zip |
Add USE_OPENSSL and a simple post-patch to fix build on 4.x
Reported by: kris
PR: ports/85959
Submitted by: Marcin Wisnicki <mwisnicki+freebsd@gmail.com> (maintainer)
Diffstat (limited to 'polish')
-rw-r--r-- | polish/kadu/Makefile | 10 |
1 files 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 <bsd.port.pre.mk> +.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 |