aboutsummaryrefslogtreecommitdiff
path: root/sysutils/runit
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2015-08-28 08:04:39 +0000
committerChris Rees <crees@FreeBSD.org>2015-08-28 08:04:39 +0000
commitf6c85334190251c285a451c777dfed5388a1b437 (patch)
treed226ee335ca08f8f0f788adbe2683ec0775e23fd /sysutils/runit
parent44507537781ab4370dd95751eb63cc7836b75ed7 (diff)
downloadports-f6c85334190251c285a451c777dfed5388a1b437.tar.gz
ports-f6c85334190251c285a451c777dfed5388a1b437.zip
Fix sv to check in correct directory.
/service doesn't play nicely with hier, so keep the old location. PR: ports/202707 Submitted by: Sean Chittenden
Notes
Notes: svn path=/head/; revision=395452
Diffstat (limited to 'sysutils/runit')
-rw-r--r--sysutils/runit/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysutils/runit/Makefile b/sysutils/runit/Makefile
index b41de1697279..850ae604ac76 100644
--- a/sysutils/runit/Makefile
+++ b/sysutils/runit/Makefile
@@ -3,6 +3,7 @@
PORTNAME= runit
PORTVERSION= 2.1.2
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://smarden.org/${PORTNAME}/ \
http://www.bayofrum.net/dist/${PORTNAME}/
@@ -25,6 +26,10 @@ DOCS= package/CHANGES package/README \
CONFIG= etc/freebsd/1 etc/2 etc/freebsd/3 etc/freebsd/ctrlaltdel \
etc/freebsd/getty-ttyv4/run etc/freebsd/getty-ttyv4/finish
+post-patch:
+ ${REINPLACE_CMD} 's!/service/!${SERVICE_DIR}!' \
+ ${WRKSRC}/man/* ${WRKSRC}/src/sv.c
+
do-configure:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
${ECHO_CMD} "${CC}" > ${WRKSRC}/src/conf-ld