1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

Fix the .pc file installed by devel/qt5-designer.

Followup to r466825 (fix which causes failure in devel/py-qt5-designer)
and r467015 (which reverted the fix). Change only the installed .pc
file, not the .pro file (which has knock-on effects for ports using
qmake, like the py-qt5-designer* ones).

Tested this time with
	poudriere bulk ... -i -C
		x11-toolkits/qt5-uiplugin
		devel/qt5-designer
		devel/py-qt5-designer
		devel/py-qt5-designerplugin
		devel/qscintilla2-designerplugin-qt5

Approved by:	tcberner (mentor, implicit)
This commit is contained in:
Adriaan de Groot 2018-04-12 11:04:13 +00:00
parent cd683fa3e5
commit 957253e46d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=467142

View File

@ -2,7 +2,7 @@
PORTNAME= designer
DISTVERSION= ${QT5_VERSION}
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= devel
PKGNAMEPREFIX= qt5-
@ -38,5 +38,8 @@ post-patch:
post-install:
${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}/src/designer/images/designer.png \
${STAGEDIR}${PREFIX}/share/pixmaps/designer-qt5.png
# The generated .pc file refers to a nonexistent other .pc file
${REINPLACE_CMD} -e '/^Requires/s/Qt5UiPlugin//' \
${STAGEDIR}${PREFIX}/libdata/pkgconfig/Qt5Designer.pc
.include <bsd.port.mk>