aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2005-12-30 16:17:50 +0800
committerdinoex <dinoex@FreeBSD.org>2005-12-30 16:17:50 +0800
commitafaffb54380d44761925dcaac497eac03bb2409a (patch)
treed43fbff62914519489f876fb0d6ee4b50ed10077 /net
parentf273c880222604eb1beb9cd69576b476c929127c (diff)
downloadfreebsd-ports-gnome-afaffb54380d44761925dcaac497eac03bb2409a.tar.gz
freebsd-ports-gnome-afaffb54380d44761925dcaac497eac03bb2409a.tar.zst
freebsd-ports-gnome-afaffb54380d44761925dcaac497eac03bb2409a.zip
- Fix build for FreeBSD 7
workaround regression in bsd.info.mk lockf creates an empty file and install-info can't create the directory file.
Diffstat (limited to 'net')
-rw-r--r--net/freebsd-uucp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/freebsd-uucp/Makefile b/net/freebsd-uucp/Makefile
index 2faa35f42228..2d432db5c6db 100644
--- a/net/freebsd-uucp/Makefile
+++ b/net/freebsd-uucp/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= dinoex@FreeBSD.org
COMMENT= FreeBSD-modified Taylor UUCP (unix-to-unix copy program)
USE_BZIP2= yes
+USE_REINPLACE= yes
MAN1= cu.1 uuconv.1 uucp.1 uulog.1 uuname.1 uupick.1 uustat.1 \
uuto.1 uux.1
@@ -41,6 +42,8 @@ CONFLICTS?= freebsd-uucp-pam-1.*
post-extract:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} extract)
+ ${REINPLACE_CMD} -e 's|doc ||' \
+ ${WRKSRC}/uucp/Makefile
do-configure:
.for i in ${FIXME}
@@ -70,7 +73,7 @@ do-configure:
post-install:
-${MKDIR} ${DESTDIR}${PREFIX}/info
- install-info ${DESTDIR}${PREFIX}/info/uucp.info ${DESTDIR}${PREFIX}/info/dir
+ ${INSTALL_DATA} ${WRKSRC}/uucp/doc/uucp.info ${DESTDIR}${PREFIX}/info/
@${CHOWN} uucp:uucp ${PREFIX}/etc/uucp
@${CHMOD} 750 ${PREFIX}/etc/uucp
@${ECHO_CMD} "updating ${DESTDIR}/etc/services"