textproc/scdoc: switch to dynamic linking

Let binary packages take advantage of newer libc.
This commit is contained in:
Jan Beich 2019-08-12 19:14:58 +00:00
parent 1ef9f874b4
commit 419f0acb4e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=508762

View file

@ -2,6 +2,7 @@
PORTNAME= scdoc
DISTVERSION= 1.9.6
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= https://git.sr.ht/~sircmpwn/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
@ -21,6 +22,7 @@ PLIST_FILES= bin/${PORTNAME} \
man/man5/${PORTNAME}.5.gz
post-patch:
@${REINPLACE_CMD} '/-static/d' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -i '' -e 's,--date=,-jf "%F %T" ,' \
${WRKSRC}/test/preamble