Date: Thu, 28 Feb 2019 11:37:10 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r494143 - head/textproc/scdoc Message-ID: <201902281137.x1SBbAXC089949@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902281137.x1SBbAXC089949>