aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/qt4-gui/Makefile
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2008-03-14 01:57:19 +0800
committerlofi <lofi@FreeBSD.org>2008-03-14 01:57:19 +0800
commitb34f1dd1a8102c0f0750f0fe0381495064f9c2be (patch)
tree76ba9ea6482e72068c64ec0d1008eb470c9e716f /x11-toolkits/qt4-gui/Makefile
parent7e59b3c8f3364f8e9916c8d219894da2c3941f44 (diff)
downloadfreebsd-ports-gnome-b34f1dd1a8102c0f0750f0fe0381495064f9c2be.tar.gz
freebsd-ports-gnome-b34f1dd1a8102c0f0750f0fe0381495064f9c2be.tar.zst
freebsd-ports-gnome-b34f1dd1a8102c0f0750f0fe0381495064f9c2be.zip
Update to Qt 4.3.4
Diffstat (limited to 'x11-toolkits/qt4-gui/Makefile')
-rw-r--r--x11-toolkits/qt4-gui/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11-toolkits/qt4-gui/Makefile b/x11-toolkits/qt4-gui/Makefile
index 1654b107f057..208e6d3c1119 100644
--- a/x11-toolkits/qt4-gui/Makefile
+++ b/x11-toolkits/qt4-gui/Makefile
@@ -55,7 +55,7 @@ OPTIONS= CUPS "Enable printing support (requires CUPS)" off \
.if !defined(WITHOUT_CUPS) || defined(PACKAGE_BUILDING)
BUILD_DEPENDS+= cupsd:${PORTSDIR}/print/cups-base
-CUPS= -cups -L${LOCALBASE}/lib -I. -I${LOCALBASE}/include
+CUPS= -cups -L${LOCALBASE}/lib -I. -I../../include/Qt -I${LOCALBASE}/include
.elif defined(WITHOUT_CUPS)
CUPS=
.endif
@@ -85,6 +85,7 @@ post-configure:
${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \
-E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \
-E -e 's|(.*location=).*uic|\1${PREFIX}/bin/uic-qt4|g' \
+ -E -e 's|(.*Cflags:.*)-I${LOCALBASE}/include |\1|g' \
${WRKSRC}/../../lib/pkgconfig/*Qt*
.include <bsd.port.post.mk>