mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Fix orphaned include/event2 dir (likely an upstream error that it is created)
- Fix shebang QA error when not using PERL_UTILS. This was broken in r374987. Error: '-w' is an invalid shebang you need USES=shebangfix for 'sbin/ntptrace' Must replace @PERL_PATH@ before install or it becomes a blank: '#! -w' Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
f1f753d6f4
commit
7af131f0d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385426
4 changed files with 12 additions and 6 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= ntp
|
||||
PORTVERSION= 4.3.20
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net ipv6
|
||||
MASTER_SITES= http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-dev/ \
|
||||
http://archive.ntp.org/ntp4/ntp-dev/
|
||||
|
@ -19,7 +20,10 @@ OPTIONS_SUB= yes
|
|||
USES= cpe pathfix shebangfix libtool
|
||||
LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2
|
||||
|
||||
NTP_SHEBANG_FILES= sbin/ntp-wait sbin/ntptrace sbin/update-leap
|
||||
SHEBANG_FILES= ${WRKSRC}/scripts/ntptrace/ntptrace.in \
|
||||
${WRKSRC}/scripts/ntp-wait/ntp-wait.in \
|
||||
${WRKSRC}/scripts/update-leap/update-leap
|
||||
perl_OLD_CMD= @PATH_PERL@
|
||||
|
||||
.include "Makefile.inc"
|
||||
|
||||
|
@ -60,7 +64,5 @@ post-install:
|
|||
@${FIND} ${WRKSRC}/html -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
|
||||
@cd ${WRKSRC}/html && ${FIND} . -print | \
|
||||
${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} --quiet ${STAGEDIR}${DOCSDIR}
|
||||
@cd ${STAGEDIR}${PREFIX}; \
|
||||
${ECHO_CMD} ${NTP_SHEBANG_FILES} | ${XARGS} ${SED} -i '' ${_SHEBANG_REINPLACE_ARGS}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -497,3 +497,4 @@ sbin/update-leap
|
|||
%%EXAMPLESDIR%%/malarky.conf
|
||||
%%EXAMPLESDIR%%/pogo.conf
|
||||
%%EXAMPLESDIR%%/rackety.conf
|
||||
@dir include/event2
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= ntp
|
||||
PORTVERSION= 4.2.8p2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net ipv6
|
||||
MASTER_SITES= http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \
|
||||
http://archive.ntp.org/ntp4/ntp-4.2/ \
|
||||
|
@ -19,7 +20,10 @@ OPTIONS_SUB= yes
|
|||
USES= cpe pathfix shebangfix libtool
|
||||
LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2
|
||||
|
||||
NTP_SHEBANG_FILES= sbin/ntp-wait sbin/ntptrace sbin/update-leap
|
||||
SHEBANG_FILES= ${WRKSRC}/scripts/ntptrace/ntptrace.in \
|
||||
${WRKSRC}/scripts/ntp-wait/ntp-wait.in \
|
||||
${WRKSRC}/scripts/update-leap/update-leap
|
||||
perl_OLD_CMD= @PATH_PERL@
|
||||
|
||||
.include "Makefile.inc"
|
||||
|
||||
|
@ -60,7 +64,5 @@ post-install:
|
|||
@${FIND} ${WRKSRC}/html -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
|
||||
@cd ${WRKSRC}/html && ${FIND} . -print | \
|
||||
${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} --quiet ${STAGEDIR}${DOCSDIR}
|
||||
@cd ${STAGEDIR}${PREFIX}; \
|
||||
${ECHO_CMD} ${NTP_SHEBANG_FILES} | ${XARGS} ${SED} -i '' ${_SHEBANG_REINPLACE_ARGS}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -497,3 +497,4 @@ sbin/update-leap
|
|||
%%EXAMPLESDIR%%/malarky.conf
|
||||
%%EXAMPLESDIR%%/pogo.conf
|
||||
%%EXAMPLESDIR%%/rackety.conf
|
||||
@dir include/event2
|
||||
|
|
Loading…
Add table
Reference in a new issue