summaryrefslogtreecommitdiffstats
path: root/mail/anubis
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-12-21 08:59:42 +0000
committerclement <clement@FreeBSD.org>2004-12-21 08:59:42 +0000
commitc45c4407d1d077454c523bea0bdad8efe7b5609a (patch)
tree289e9170f0eeb25de7d3aa96ca90456858817856 /mail/anubis
parentf838333dbfde0e27f6b31e7467591633192c16d5 (diff)
downloadFreeBSD-ports-c45c4407d1d077454c523bea0bdad8efe7b5609a.zip
FreeBSD-ports-c45c4407d1d077454c523bea0bdad8efe7b5609a.tar.gz
- Rework gpgme03 port to avoid conflict with gpgme 1.0
- Make ports depending on it use new layout - Bump PORTREVISION (except elmo*) Approved by: portmgr (marcus)
Diffstat (limited to 'mail/anubis')
-rw-r--r--mail/anubis/Makefile6
-rw-r--r--mail/anubis/files/patch-configure28
2 files changed, 32 insertions, 2 deletions
diff --git a/mail/anubis/Makefile b/mail/anubis/Makefile
index a77bd07..2a7f71e 100644
--- a/mail/anubis/Makefile
+++ b/mail/anubis/Makefile
@@ -31,7 +31,8 @@ USE_REINPLACE= yes
USE_GETOPT_LONG= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" LDFLAGS="${LDFLAGS}" \
+ CFLAGS="${CFLAGS}" CPPFLAGS="${CFLAGS}"
LDFLAGS+= -L${LOCALBASE}/lib
.if defined(WITHOUT_NLS)
@@ -57,7 +58,8 @@ CONFIGURE_ARGS+= --without-gnutls
.if defined(WITHOUT_GPGME)
CONFIGURE_ARGS+= --without-gpgme
.else
-LIB_DEPENDS+= gpgme:${PORTSDIR}/security/gpgme03
+LIB_DEPENDS+= gpgme03.9:${PORTSDIR}/security/gpgme03
+CFLAGS+= -I${LOCALBASE}/include/gpgme03
.endif
# PCRE
diff --git a/mail/anubis/files/patch-configure b/mail/anubis/files/patch-configure
new file mode 100644
index 0000000..6417614
--- /dev/null
+++ b/mail/anubis/files/patch-configure
@@ -0,0 +1,28 @@
+--- configure.orig Mon Dec 20 20:32:43 2004
++++ configure Mon Dec 20 20:34:13 2004
+@@ -8603,13 +8603,13 @@
+
+ else
+
+-echo "$as_me:$LINENO: checking for main in -lgpgme" >&5
+-echo $ECHO_N "checking for main in -lgpgme... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for main in -lgpgme03" >&5
++echo $ECHO_N "checking for main in -lgpgme03... $ECHO_C" >&6
+ if test "${ac_cv_lib_gpgme_main+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lgpgme $LIBS"
++LIBS="-lgpgme03 $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h. */
+@@ -8656,7 +8656,7 @@
+ #define HAVE_LIBGPGME 1
+ _ACEOF
+
+- LIBS="-lgpgme $LIBS"
++ LIBS="-lgpgme03 $LIBS"
+
+ else
+ with_gpgme=no
OpenPOWER on IntegriCloud