svn commit: r494143 - head/textproc/scdoc
Jan Beich
jbeich at FreeBSD.org
Thu Feb 28 11:37:15 UTC 2019
Author: jbeich
Date: Thu Feb 28 11:37:10 2019
New Revision: 494143
URL: https://svnweb.freebsd.org/changeset/ports/494143
Log:
textproc/scdoc: fix prefix in pkg-config
scdoc's homegrown build doesn't adjust pkg-config's prefix which
breaks .path() in meson. Found via x11-wm/sway upstream:
Dependency scdoc found: YES 1.9.0
Program /usr/bin/scdoc found: NO
meson.build:100:1: ERROR: Program(s) ['/usr/bin/scdoc'] not found or not executable
Reported by: @emersion
Modified:
head/textproc/scdoc/Makefile (contents, props changed)
Modified: head/textproc/scdoc/Makefile
==============================================================================
--- head/textproc/scdoc/Makefile Thu Feb 28 11:37:02 2019 (r494142)
+++ head/textproc/scdoc/Makefile Thu Feb 28 11:37:10 2019 (r494143)
@@ -2,6 +2,7 @@
PORTNAME= scdoc
DISTVERSION= 1.9.0
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= https://git.sr.ht/~sircmpwn/${PORTNAME}/archive/
DISTFILES= ${DISTVERSIONFULL}${EXTRACT_SUFX}
@@ -27,6 +28,8 @@ post-patch:
-e '/MAN/s,install -Dm644,${INSTALL_MAN},' \
-e '/PC/s,install -Dm644,${INSTALL_DATA},' \
${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e '/prefix/s,/usr,${PREFIX},' \
+ ${WRKSRC}/${PORTNAME}.pc
@${REINPLACE_CMD} -i '' 's,--date=,-f "%F %T %z" ,' \
${WRKSRC}/test/preamble
More information about the svn-ports-head
mailing list