Date: Tue, 29 Dec 2015 13:07:15 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404740 - in head/news/newsx: . files Message-ID: <201512291307.tBTD7Fwv030796@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Tue Dec 29 13:07:15 2015 New Revision: 404740 URL: https://svnweb.freebsd.org/changeset/ports/404740 Log: Fix build as a user. Sponsored by: Absolight Modified: head/news/newsx/Makefile head/news/newsx/files/patch-configure head/news/newsx/pkg-plist Modified: head/news/newsx/Makefile ============================================================================== --- head/news/newsx/Makefile Tue Dec 29 12:03:09 2015 (r404739) +++ head/news/newsx/Makefile Tue Dec 29 13:07:15 2015 (r404740) @@ -34,7 +34,7 @@ CPPFLAGS+= -I${LOCALBASE}/news/include CONFIGURE_ARGS+= --without-history .endif -DOCS= AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO +PORTDOCS= AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO .include <bsd.port.options.mk> @@ -52,12 +52,10 @@ post-build: ${STRIP_CMD} ${WRKSRC}/src/newsx .endif -post-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/news/spool/inhosts +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} -.for FILE in ${DOCS} +.for FILE in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} .endfor - @${ECHO} "Documentation installed in ${DOCSDIR}." .include <bsd.port.mk> Modified: head/news/newsx/files/patch-configure ============================================================================== --- head/news/newsx/files/patch-configure Tue Dec 29 12:03:09 2015 (r404739) +++ head/news/newsx/files/patch-configure Tue Dec 29 13:07:15 2015 (r404740) @@ -1,6 +1,6 @@ ---- configure.orig 2003-05-18 19:25:34.000000000 +0200 -+++ configure 2013-11-27 17:22:07.000000000 +0100 -@@ -253,7 +253,7 @@ +--- configure.orig 2003-05-18 17:25:34 UTC ++++ configure +@@ -253,7 +253,7 @@ exec 6>&1 # # Initializations. # @@ -9,7 +9,7 @@ ac_config_libobj_dir=. cross_compiling=no subdirs= -@@ -1712,15 +1712,15 @@ +@@ -1712,15 +1712,15 @@ PACKAGE_DATE=`date | sed 's/^[^ ]* \([^ VISIT="/usr/lib/news /var/news/etc /usr/spool/news /usr/share/news \ @@ -29,13 +29,14 @@ # Check whether --with-newshome or --without-newshome was given. -@@ -1890,7 +1890,11 @@ +@@ -1890,7 +1890,12 @@ echo $ECHO_N "checking and found INN... # it has been reported that some INN 2.1 had its own VERSION VERSION_save="$VERSION" VERSION= + prefix_orig="${prefix}" + exec_prefix_orig="${exec_prefix}" . $NEWSCONFIG ++ unset TMPDIR + prefix="${prefix_orig}" + exec_prefix="${exec_prefix_orig}" INN_VERSION="$VERSION" Modified: head/news/newsx/pkg-plist ============================================================================== --- head/news/newsx/pkg-plist Tue Dec 29 12:03:09 2015 (r404739) +++ head/news/newsx/pkg-plist Tue Dec 29 13:07:15 2015 (r404740) @@ -4,15 +4,4 @@ man/man1/newsq.1.gz man/man5/in.hosts.5.gz man/man5/newsx.conf.5.gz man/man8/newsx.8.gz -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/FAQ -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrmtry news/spool/inhosts -@dirrmtry news/spool -@dirrmtry news +@dir(news,news,) news/spool/inhosts
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512291307.tBTD7Fwv030796>