diff options
author | lippe <lippe@FreeBSD.org> | 2008-05-17 23:12:15 +0800 |
---|---|---|
committer | lippe <lippe@FreeBSD.org> | 2008-05-17 23:12:15 +0800 |
commit | 4f2da9b5b362af74b7d4d10ee62279c421308d67 (patch) | |
tree | 0ece64a0ffcc46aa02dcfa63bcc5456934e817d6 /polish/libgadu/Makefile | |
parent | d3b8b81ba9876d14ab2993ec1306b491c54089e1 (diff) | |
download | freebsd-ports-gnome-4f2da9b5b362af74b7d4d10ee62279c421308d67.tar.gz freebsd-ports-gnome-4f2da9b5b362af74b7d4d10ee62279c421308d67.tar.zst freebsd-ports-gnome-4f2da9b5b362af74b7d4d10ee62279c421308d67.zip |
- Fix SSL bug and unbreak polish/gnugadu2 too.
PR: ports/122394
Submitted by: "Aleksander Fafula" <aleksander.fafula@gmail.com>
Approved by: araujo (mentor), maintainer timeout (> 2 weeks)
Diffstat (limited to 'polish/libgadu/Makefile')
-rw-r--r-- | polish/libgadu/Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/polish/libgadu/Makefile b/polish/libgadu/Makefile index 283b852e15da..d86d51b349b0 100644 --- a/polish/libgadu/Makefile +++ b/polish/libgadu/Makefile @@ -6,6 +6,7 @@ PORTNAME= libgadu PORTVERSION= 1.8.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= polish net MASTER_SITES= http://toxygen.net/libgadu/files/ @@ -23,16 +24,26 @@ CONFIGURE_ARGS= --enable-shared --disable-static USE_LDCONFIG= yes +OPTIONS= OPENSSL "Build with OPENSSL support" on + PLIST_FILES= include/libgadu.h \ lib/libgadu.la \ lib/libgadu.so \ lib/libgadu.so.3 \ libdata/pkgconfig/libgadu.pc -OPTIONS= OPENSSL "Build with OPENSSL support" on +.include <bsd.port.pre.mk> -.if defined(WITHOUT_OPENSSL) +.if defined(WITH_OPENSSL) +.include "${PORTSDIR}/Mk/bsd.openssl.mk" +.else CONFIGURE_ARGS+= --without-openssl .endif -.include <bsd.port.mk> +pre-install: + +.if defined(WITH_OPENSSL) + @${REINPLACE_CMD} -e 's|openssl| |g' ${WRKSRC}/pkgconfig/libgadu.pc +.endif + +.include <bsd.port.post.mk> |