diff options
author | crees <crees@FreeBSD.org> | 2015-08-28 16:04:39 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2015-08-28 16:04:39 +0800 |
commit | 5d68ad897a565da77fdd57a82c72b2bcb79b442c (patch) | |
tree | d226ee335ca08f8f0f788adbe2683ec0775e23fd /sysutils | |
parent | 14d9b53f10c52844a03f647c854b8816d51f7375 (diff) | |
download | freebsd-ports-gnome-5d68ad897a565da77fdd57a82c72b2bcb79b442c.tar.gz freebsd-ports-gnome-5d68ad897a565da77fdd57a82c72b2bcb79b442c.tar.zst freebsd-ports-gnome-5d68ad897a565da77fdd57a82c72b2bcb79b442c.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
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/runit/Makefile | 5 |
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 |