diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-07-27 14:50:16 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-07-27 14:50:16 +0000 |
commit | c73d9b3298c525ed176e885987f9f08ac93fea9b (patch) | |
tree | 2af0d3866cc94abd223d81dbc1046f1ed9465342 /dns | |
parent | Update to 6.1. (diff) |
- replace %zd with %d and unbreak this port on 4.x
Notes
Notes:
svn path=/head/; revision=140238
Diffstat (limited to 'dns')
-rw-r--r-- | dns/totd/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dns/totd/Makefile b/dns/totd/Makefile index 38121c0f656e..95fce5477284 100644 --- a/dns/totd/Makefile +++ b/dns/totd/Makefile @@ -16,9 +16,13 @@ MAN8= totd.8 USE_RC_SUBR= YES GNU_CONFIGURE= YES +USE_REINPLACE= YES RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} +post-patch: + @${REINPLACE_CMD} -e 's/%zd/%d/g' ${WRKSRC}/*.c + post-install: ${INSTALL_DATA} ${FILESDIR}/totd.conf.sample ${PREFIX}/etc @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ |