diff options
author | Simon Barner <barner@FreeBSD.org> | 2008-04-08 20:23:18 +0000 |
---|---|---|
committer | Simon Barner <barner@FreeBSD.org> | 2008-04-08 20:23:18 +0000 |
commit | 89f09264a88d7884768c00929058d39b939de42a (patch) | |
tree | 44aa170218e5c1a42e05073486c37fd8aa9763c7 /mail/kbiff | |
parent | c5bc6e3a3f769a1b7abd5ae8187811d2f3fa4d1a (diff) | |
download | ports-89f09264a88d7884768c00929058d39b939de42a.tar.gz ports-89f09264a88d7884768c00929058d39b939de42a.zip |
Notes
Diffstat (limited to 'mail/kbiff')
-rw-r--r-- | mail/kbiff/Makefile | 14 | ||||
-rw-r--r-- | mail/kbiff/files/patch-configure | 20 |
2 files changed, 32 insertions, 2 deletions
diff --git a/mail/kbiff/Makefile b/mail/kbiff/Makefile index 2a789ba053b6..62b326947fd2 100644 --- a/mail/kbiff/Makefile +++ b/mail/kbiff/Makefile @@ -7,7 +7,7 @@ PORTNAME= kbiff PORTVERSION= 3.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail kde MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -23,9 +23,19 @@ CONFIGURE_ARGS= --disable-fast-perl CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" MAN1= kbiff.1 +OPTIONS= SSL "SSL support" on + +.include <bsd.port.pre.mk> + +.if defined(WITH_SSL) +CONFIGURE_ARGS+=--enable-ssl +.else +CONFIGURE_ARGS+=--disable-ssl +.endif + post-patch: @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g' ${WRKSRC}/configure -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/mail/kbiff/files/patch-configure b/mail/kbiff/files/patch-configure new file mode 100644 index 000000000000..3b3f6db646aa --- /dev/null +++ b/mail/kbiff/files/patch-configure @@ -0,0 +1,20 @@ +--- configure.orig 2008-04-08 21:45:31.000000000 +0200 ++++ configure 2008-04-08 21:45:50.000000000 +0200 +@@ -25477,7 +25477,7 @@ + use_ssl=yes + fi; + +-if test "$use_ssl" == "yes"; then ++if test "$use_ssl" = "yes"; then + + cat >>confdefs.h <<\_ACEOF + #define USE_SSL +@@ -25494,7 +25494,7 @@ + use_ssl=yes + fi; + +-if test "$use_ssl" == "yes"; then ++if test "$use_ssl" = "yes"; then + + cat >>confdefs.h <<\_ACEOF + #define USE_SSL |