aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfluffy <fluffy@FreeBSD.org>2009-09-05 11:17:07 +0800
committerfluffy <fluffy@FreeBSD.org>2009-09-05 11:17:07 +0800
commit779992f877ee630159decf9132791049e1d4db0a (patch)
treeac83db2520a0dc44e08d6e05c9f311260ddd4def
parente840000f0e67167c4ca149a8302c2475e831774b (diff)
downloadfreebsd-ports-gnome-779992f877ee630159decf9132791049e1d4db0a.tar.gz
freebsd-ports-gnome-779992f877ee630159decf9132791049e1d4db0a.tar.zst
freebsd-ports-gnome-779992f877ee630159decf9132791049e1d4db0a.zip
- Get rid of /usr/X11R6
- Add missing dependency on x11/rgb Approved by: miwi (mentor)
-rw-r--r--x11/kdelibs4/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile
index 43418ce3ee52..7d1c3bd2bdc7 100644
--- a/x11/kdelibs4/Makefile
+++ b/x11/kdelibs4/Makefile
@@ -8,6 +8,7 @@
PORTNAME= kdelibs
PORTVERSION= ${KDE4_VERSION}
+PORTREVISION= 1
CATEGORIES= x11 kde ipv6
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
@@ -35,6 +36,7 @@ LIB_DEPENDS= searchclient:${PORTSDIR}/deskutils/strigi \
lzma.0:${PORTSDIR}/archivers/lzmautils-devel \
smbclient.0:${PORTSDIR}/net/samba-libsmbclient
RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme \
+ showrgb:${PORTSDIR}/x11/rgb \
iceauth:${PORTSDIR}/x11/iceauth \
xauth:${PORTSDIR}/x11/xauth
@@ -94,11 +96,16 @@ post-patch:
${PATCH_WRKSRC}/kio/kssl/kopenssl.cpp \
${PATCH_WRKSRC}/kio/kio/ksambashare.cpp \
${PATCH_WRKSRC}/kjsembed/qtonly/FindQJSInternal.cmake
+#Fix rgb named colors database path.
+ ${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
+ ${PATCH_WRKSRC}/kdeui/colors/kcolordialog.cpp
pre-configure:
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+ -e 's|/usr/X11R6|${LOCALBASE}|g' \
${PATCH_WRKSRC}/cmake/modules/*.cmake \
- ${PATCH_WRKSRC}/ConfigureChecks.cmake
+ ${PATCH_WRKSRC}/ConfigureChecks.cmake \
+ ${PATCH_WRKSRC}/doc/api/doxygen.sh
# FindBerkeleyDB.cmake should be rewritten to support multiple version
# provided by ports, instead of hardcoding one of them
# ${REINPLACE_CMD} -e 's|/usr/local/include/db4|${BDB_INCLUDE_DIR}|' \