diff options
Diffstat (limited to 'www/lynx/Makefile')
-rw-r--r-- | www/lynx/Makefile | 59 |
1 files changed, 5 insertions, 54 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile index c28080141e6..2776388ec36 100644 --- a/www/lynx/Makefile +++ b/www/lynx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.73 2004/05/16 03:34:23 fredb Exp $ +# $NetBSD: Makefile,v 1.74 2004/07/30 21:05:42 jlam Exp $ # DISTNAME= lynx2.8.5 @@ -31,8 +31,6 @@ USE_GNU_TOOLS+= make INSTALL_TARGET= install-full install-lss MAKEFILE= makefile -BUILD_DEFS+= LYNX_SCREEN_LIB USE_SOCKS USE_INET6 - .include "../../mk/bsd.prefs.mk" # For nls/gettext @@ -65,53 +63,10 @@ CONFIGURE_ARGS+= --enable-nested-tables CONFIGURE_ARGS+= --enable-prettysrc CONFIGURE_ARGS+= --enable-read-eta -.if ${LYNX_SCREEN_LIB} == "slang" -. include "../../devel/libslang/buildlink3.mk" -.elif ${LYNX_SCREEN_LIB} == "ncurses" -USE_NCURSES= color -. include "../../devel/ncurses/buildlink3.mk" -CONFIGURE_ARGS+= --enable-color-style -.elif ${LYNX_SCREEN_LIB} == curses -. include "../../mk/curses.buildlink3.mk" -. if !empty(MACHINE_PLATFORM:MNetBSD-1.5*-i386) -CONFIGURE_ARGS+= --enable-color-style -. endif -.else -pre-configure: - @${ECHO} '****************************************************' - @${ECHO} '* Invalid value for LYNX_SCREEN_LIB. Please choose *' - @${ECHO} '* one of "slang", "ncurses", or "curses"! *' - @${ECHO} '****************************************************' - @${FALSE} - -.endif - -# Include SOCKS firewall support, if desired. -.if defined(USE_SOCKS) && (${USE_SOCKS} == 4 || ${USE_SOCKS} == 5) -.if (${LYNX_SCREEN_LIB} == slang) -pre-configure: - @${ECHO} '******************************************************' - @${ECHO} '* Socks may not be enabled together with the "slang" *' - @${ECHO} '* screen library. If socks support is desired, *' - @${ECHO} '* please also set LYNX_SCREEN_LIB to one of "curses" *' - @${ECHO} '* or "ncurses"! *' - @${ECHO} '******************************************************' - @${FALSE} - -.endif -.if ${USE_SOCKS} == 4 -CONFIGURE_ARGS+= --with-socks -. include "../../net/socks4/buildlink3.mk" -.else -CONFIGURE_ARGS+= --with-socks5 -. include "../../net/socks5/buildlink3.mk" -.endif -.endif - -# Do IPV6 on systems which can support it. -.if defined(USE_INET6) && ${USE_INET6} == YES -CONFIGURE_ARGS+= --enable-ipv6 -.endif +.include "Makefile.options" +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" post-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/lynx @@ -119,8 +74,4 @@ post-install: # patchless update ${RM} ${PREFIX}/share/lynx/lynx_doc/CHANGES.orig_dist -.include "../../devel/gettext-lib/buildlink3.mk" -.include "../../devel/zlib/buildlink3.mk" -.include "../../security/openssl/buildlink3.mk" - .include "../../mk/bsd.pkg.mk" |