summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjlam <jlam>2001-12-26 16:16:47 +0000
committerjlam <jlam>2001-12-26 16:16:47 +0000
commitf9ce04bfce0195c2e8c70935b4e13630949f7f30 (patch)
tree17fe00ca675fe7a76fd23c35829ecdcfff54a808 /www
parent4650da7a79f80c0fb68c42116ec99b39f3b402fe (diff)
downloadpkgsrc-f9ce04bfce0195c2e8c70935b4e13630949f7f30.tar.gz
Buildlink'ify in same way as www/lynx.
Diffstat (limited to 'www')
-rw-r--r--www/lynx-current/Makefile29
1 files changed, 10 insertions, 19 deletions
diff --git a/www/lynx-current/Makefile b/www/lynx-current/Makefile
index f13ce5970b5..908be022aa2 100644
--- a/www/lynx-current/Makefile
+++ b/www/lynx-current/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2001/09/27 23:18:53 jlam Exp $
+# $NetBSD: Makefile,v 1.34 2001/12/26 16:16:47 jlam Exp $
#
DISTNAME= lynx2.8.4dev.19
@@ -17,9 +17,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
@@ -61,11 +60,11 @@ post-install:
LYNX_SCREEN_LIB?= slang
.if (${LYNX_SCREEN_LIB} == slang)
-DEPENDS+= libslang-[0-9]*:../../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
-CPPFLAGS+= -I/usr/include -I${LOCALBASE}/include
.elif (${LYNX_SCREEN_LIB} == curses)
CONFIGURE_ENV+= cf_cv_ncurses_version=no
.else
@@ -93,10 +92,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
@@ -105,15 +104,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