Date: Sun, 27 May 2012 13:34:06 +0300 From: "Andrew Romero" <melanhit@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/168366: Move lynx conf files form ${LOCALBASE}/etc to ${LOCALBASE}/lynx/etc Message-ID: <4fc20324.c460b40a.6ceb.3de4@mx.google.com> Resent-Message-ID: <201205271040.q4RAe1Wc040626@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 168366 >Category: ports >Synopsis: Move lynx conf files form ${LOCALBASE}/etc to ${LOCALBASE}/lynx/etc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun May 27 10:40:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Andrew Romero >Release: FreeBSD 9.0-STABLE i386 >Organization: Troya BSD >Environment: System: FreeBSD amazon.troya.bsd 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat May 26 17:35:45 EEST 2012 root@troya.bsd:/usr/obj/usr/src/sys/TROYA i386 >Description: Change default place of lynx config files to ${LOCALBASE}/lynx/etc >How-To-Repeat: >Fix: --- patch-Makefile begins here --- --- Makefile.orig 2012-05-23 12:20:22.000000000 +0300 +++ Makefile 2012-05-23 12:21:17.000000000 +0300 @@ -21,7 +21,7 @@ USE_OPENSSL= yes WRKSRC= ${WRKDIR}/${PORTNAME}2-8-7 GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-zlib --libdir="${L_LIB}" \ +CONFIGURE_ARGS+=--with-zlib --libdir="${L_LIB}" --sysconfdir="${L_LIB}" \ --enable-nsl-fork --enable-persistent-cookies \ --enable-nested-tables --enable-gzip-help \ --with-screen=ncursesw @@ -73,7 +73,7 @@ MAKEFILE= makefile MAN1= lynx.1 -L_LIB= ${PREFIX}/etc +L_LIB= ${PREFIX}/etc/lynx SUB_FILES= pkg-message --- patch-Makefile ends here --- --- patch-pkg-plist begins here --- --- pkg-plist.orig 2012-05-23 12:21:34.000000000 +0300 +++ pkg-plist 2012-05-23 12:23:53.000000000 +0300 @@ -1,10 +1,11 @@ bin/lynx -@unexec if cmp -s %D/etc/lynx.cfg %D/etc/lynx.cfg.sample; then rm -f %D/etc/lynx.cfg; fi -etc/lynx.cfg.sample +@unexec if cmp -s %D/etc/lynx/lynx.cfg %D/etc/lynx/lynx.cfg.sample; then rm -f %D/etc/lynx/lynx.cfg; fi +etc/lynx/lynx.cfg.sample @exec if [ ! -f %B/lynx.cfg ]; then cp -p %D/%F %B/lynx.cfg; fi -@unexec if cmp -s %D/etc/lynx.lss %D/etc/lynx.lss.sample; then rm -f %D/etc/lynx.lss; fi -etc/lynx.lss.sample +@unexec if cmp -s %D/etc/lynx/lynx.lss %D/etc/lynx/lynx.lss.sample; then rm -f %D/etc/lynx/lynx.lss; fi +etc/lynx/lynx.lss.sample @exec if [ ! -f %B/lynx.lss ]; then cp -p %D/%F %B/lynx.lss; fi +@dirrmtry etc/lynx @exec mkdir -p %D/%%PORTDOCS%%/share/lynx_help %%PORTDOCS%%%%DOCSDIR%%/CHANGES %%PORTDOCS%%%%DOCSDIR%%/COPYHEADER --- patch-pkg-plist ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4fc20324.c460b40a.6ceb.3de4>