svn commit: r404740 - in head/news/newsx: . files
Mathieu Arnold
mat at FreeBSD.org
Tue Dec 29 13:07:17 UTC 2015
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%%
- at dirrmtry news/spool/inhosts
- at dirrmtry news/spool
- at dirrmtry news
+ at dir(news,news,) news/spool/inhosts
More information about the svn-ports-all
mailing list