summaryrefslogtreecommitdiff
path: root/www/lynx
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-12-26 16:09:41 +0000
committerjlam <jlam@pkgsrc.org>2001-12-26 16:09:41 +0000
commit7e5ba8a39b8677eeee2f9ed4ff92dc307eb27b08 (patch)
treef8f31c1ff0019487f5d9b90589a71d4e135c6e18 /www/lynx
parentc11241de171730939e22e4fa45710c24531b2e1f (diff)
downloadpkgsrc-7e5ba8a39b8677eeee2f9ed4ff92dc307eb27b08.tar.gz
Buildlink'ify.
Diffstat (limited to 'www/lynx')
-rw-r--r--www/lynx/Makefile28
1 files changed, 10 insertions, 18 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile
index 5d298a8be21..edd1b3b3748 100644
--- a/www/lynx/Makefile
+++ b/www/lynx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2001/12/21 03:55:50 fredb Exp $
+# $NetBSD: Makefile,v 1.44 2001/12/26 16:09:41 jlam Exp $
#
DISTNAME= lynx2.8.4rel.1
@@ -16,9 +16,8 @@ BUILD_USES_MSGFMT= yes
WRKSRC= ${WRKDIR}/lynx2-8-4
+USE_BUILDLINK_ONLY= yes
GNU_CONFIGURE= yes
-USE_LIBINTL= yes
-USE_SSL= yes
INSTALL_TARGET= install-bin install-cfg install-help install-lss
INSTALL_TARGET+= install-doc install-man
MAKEFILE= makefile
@@ -59,9 +58,10 @@ post-install:
.include "../../mk/bsd.prefs.mk"
.if (${LYNX_SCREEN_LIB} == slang)
-DEPENDS+= libslang>=1.4.4:../../devel/libslang
+. include "../../devel/libslang/buildlink.mk"
.elif (${LYNX_SCREEN_LIB} == ncurses)
-DEPENDS+= ncurses-[0-9]*:../../devel/ncurses
+. include "../../devel/ncurses/buildlink.mk"
+USE_NCURSES= color
CONFIGURE_ARGS+= --enable-color-style
.elif (${LYNX_SCREEN_LIB} != curses)
pre-configure:
@@ -88,10 +88,10 @@ pre-configure:
.endif
.if ${USE_SOCKS} == 4
CONFIGURE_ARGS+= --with-socks
-DEPENDS+= socks4-2.2:../../net/socks4
+. include "../../net/socks4/buildlink.mk"
.else
CONFIGURE_ARGS+= --with-socks5
-DEPENDS+= socks5-1.0.2:../../net/socks5
+. include "../../net/socks5/buildlink.mk"
.endif
.endif
@@ -100,15 +100,7 @@ DEPENDS+= socks5-1.0.2:../../net/socks5
CONFIGURE_ARGS+= --enable-ipv6
.endif
+.include "../../devel/gettext-lib/buildlink.mk"
+.include "../../devel/zlib/buildlink.mk"
+.include "../../security/openssl/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
-
-# "USE_SSL", set above, pulls in the openssl package, if needed, and
-# "sets SSLBASE", which we use here to tell the package where it needs
-# to look for SSL libs and includes.
-.if (${SSLBASE} == /usr)
-SSLLIBS= -lssl -lcrypto
-SSLINCS= -I/usr/include/openssl
-.else
-SSLLIBS= -L${SSLBASE}/lib -Wl,-R${SSLBASE}/lib -lssl -lcrypto
-SSLINCS= -I${SSLBASE}/include -I${SSLBASE}/include/openssl
-.endif