Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2013 08:56:34 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331663 - head/textproc/asciidoc
Message-ID:  <201310260856.r9Q8uYDg085263@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Oct 26 08:56:34 2013
New Revision: 331663
URL: http://svnweb.freebsd.org/changeset/ports/331663

Log:
  - Fix CONF_FILES detection which make *.conf.sample got installed as *.conf
    unconditionally (regardless of *.conf existence)
  
  Reported by:	eadler

Modified:
  head/textproc/asciidoc/Makefile

Modified: head/textproc/asciidoc/Makefile
==============================================================================
--- head/textproc/asciidoc/Makefile	Sat Oct 26 08:46:12 2013	(r331662)
+++ head/textproc/asciidoc/Makefile	Sat Oct 26 08:56:34 2013	(r331663)
@@ -62,7 +62,7 @@ pre-install:
 
 post-install:
 .for conf_file in ${CONF_FILES}
-	@if [ ! -f ${STAGEDIR}${ETCDIR}/${conf_file} ]; then \
+	@if [ ! -f ${ETCDIR}/${conf_file} ]; then \
 		${CP} -p ${STAGEDIR}${ETCDIR}/${conf_file}.sample ${STAGEDIR}${ETCDIR}/${conf_file} ; \
 	fi
 .endfor



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310260856.r9Q8uYDg085263>