summaryrefslogtreecommitdiff
path: root/mail/cue
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-06-17 11:22:18 +0000
committerwiz <wiz@pkgsrc.org>2002-06-17 11:22:18 +0000
commitf600d6a741b9c4069a4e167af26060388424b033 (patch)
tree59e20fef45c56342fde2cd057acafc8a34318e6c /mail/cue
parent0a09401380b2f20919c3ea33d3cdd3864c2b3a74 (diff)
downloadpkgsrc-f600d6a741b9c4069a4e167af26060388424b033.tar.gz
Use openssl buildlink.mk instead of USE_SSL and hack.
Sort lines a bit differently.
Diffstat (limited to 'mail/cue')
-rw-r--r--mail/cue/Makefile23
1 files changed, 11 insertions, 12 deletions
diff --git a/mail/cue/Makefile b/mail/cue/Makefile
index d4ca2e4289c..2d942c20a78 100644
--- a/mail/cue/Makefile
+++ b/mail/cue/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2002/06/10 13:03:04 sakamoto Exp $
+# $NetBSD: Makefile,v 1.12 2002/06/17 11:22:18 wiz Exp $
DISTNAME= cue-snap-20010917
PKGNAME= cue-20010917
@@ -9,24 +9,21 @@ MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/cue/snap/
MAINTAINER= packages@netbsd.org
COMMENT= mh-e like mail user agent
+GNU_CONFIGURE= yes
+
.include "../../mk/bsd.prefs.mk"
+
BUILD_DEFS+= USE_INET6
-GNU_CONFIGURE= yes
-USE_SSL= yes
-.if exists(/usr/include/openssl/rsa.h)
-CONFIGURE_ARGS+=--with-openssl=/usr
-.else
-CONFIGURE_ARGS+=--with-openssl=${LOCALBASE}
-.endif
.if ${USE_INET6} == "YES"
-CONFIGURE_ARGS+=--enable-ipv6
+CONFIGURE_ARGS+= --enable-ipv6
.else
-CONFIGURE_ARGS+=--disable-ipv6
+CONFIGURE_ARGS+= --disable-ipv6
.endif
+
# require Canna, for now, cue assumes Japanese encoding anyways
-.include "../../inputmethod/canna-lib/buildlink.mk"
-CONFIGURE_ARGS+=--with-canna=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-canna=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cue ${PREFIX}/bin
@@ -36,4 +33,6 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/cue.hlp ${PREFIX}/share/doc/cue
${INSTALL_DATA} ${WRKSRC}/cue.html ${PREFIX}/share/doc/cue
+.include "../../inputmethod/canna-lib/buildlink.mk"
+.include "../../security/openssl/buildlink.mk"
.include "../../mk/bsd.pkg.mk"