Date: Wed, 16 Jul 2008 13:21:30 +0000 (UTC) From: Mel@rachie.is-a-geek.net To: FreeBSD-gnats-submit@FreeBSD.org Cc: MAINTAINER <jharris@widomaker.com> Subject: ports/125676: [PATCH] Fix www/lynx build Message-ID: <20080716132130.28569E6191@portbuild-7.x.rachie.is-a-geek.net> Resent-Message-ID: <200807161340.m6GDe4lf047378@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 125676 >Category: ports >Synopsis: [PATCH] Fix www/lynx build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 16 13:40:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Mel >Release: FreeBSD 7.0-STABLE i386 >Organization: >Environment: System: FreeBSD portbuild-7.x.rachie.is-a-geek.net 7.0-STABLE FreeBSD 7.0-STABLE #6: Thu May 1 08:13:00 AKDT 2008 root@smoochies.rachie.is-a-geek.net:/usr/obj/usr/src/sys/GENERIC-ULE i386 >Description: www/lynx build fails,because it is unable to cd to 'src'. >How-To-Repeat: # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for lynx-2.8.6.5_4,1 _OPTIONS_READ=lynx-2.8.6.5_4,1 WITH_SSL=true WITH_DEFAULT_COLORS=true WITH_IPV6=true WITHOUT_NLS=true The problem might be caused or is exposed by WITHOUT_NLS. Or it is caused by the assumption that CDPATH does something useful in our make(1). I've patched it so that no assumptions about make's behavior are necessary. >Fix: --- www/lynx/Makefile.orig 2008-07-03 08:16:49.000000000 +0000 +++ www/lynx/Makefile 2008-07-16 13:05:51.000000000 +0000 @@ -27,6 +27,7 @@ CONFIGURE_ARGS+=--with-zlib --libdir="${L_LIB}" \ --enable-nsl-fork --enable-persistent-cookies \ --enable-nested-tables --enable-gzip-help \ + --srcdir=${WRKSRC} OPTIONS= SSL "SSL support" on \ DEFAULT_COLORS "Colors support" off \ @@ -77,6 +78,9 @@ post-patch: @${RM} -f ${WRKSRC}/CHANGES.orig + ${REINPLACE_CMD} -e \ + 's,cd \([^[:space:]]*\) \&\&,cd $$(srcdir)/\1 \&\&,' \ + ${WRKSRC}/makefile.in post-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080716132130.28569E6191>