From b20f32bb38994e1bb5de05cecc229f10659e0f49 Mon Sep 17 00:00:00 2001 From: tijl Date: Thu, 25 Sep 2014 15:18:27 +0000 Subject: - Set CPPFLAGS and LIBS in a number of ports so configure can find libintl.h and libintl.so. This fixes a problem where DATADIRNAME gets an incorrect value which causes locale files to be installed in the wrong place. - The only configure checks that still need to be patched are related to intltool so move DATADIRNAME patching from USES=pathfix to USE_GNOME=intlhack. - games/klavaro: remove excessive dependencies - japanese/libskk: add INSTALL_TARGET=install-strip - math/libqalculate: add INSTALL_TARGET=install-strip and remove pthread patching - multimedia/freetuxtv: remove excessive dependencies - science/gramps: fix shared-mime-info use Exp-run by: antoine Approved by: portmgr (antoine) --- Mk/Uses/pathfix.mk | 5 +---- Mk/bsd.gnome.mk | 12 +++++++----- 2 files changed, 8 insertions(+), 9 deletions(-) (limited to 'Mk') diff --git a/Mk/Uses/pathfix.mk b/Mk/Uses/pathfix.mk index f8762a2ceaf3..1a675d6eebc1 100644 --- a/Mk/Uses/pathfix.mk +++ b/Mk/Uses/pathfix.mk @@ -28,9 +28,6 @@ pathfix: s|[(]datadir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \ s|[(]prefix[)]/lib/pkgconfig|(prefix)/libdata/pkgconfig|g ; \ s|[$$][(]localstatedir[)]/scrollkeeper|${SCROLLKEEPER_DIR}|g ; \ - s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g' ; \ - ${FIND} ${WRKSRC} -name "configure" -type f | ${XARGS} ${REINPLACE_CMD} -e \ - 's|DATADIRNAME=lib|DATADIRNAME=share|g ; \ - s|{libdir}/locale|{prefix}/share/locale|g' + s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g' .endif diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk index a371357b6b4a..53474900fff0 100644 --- a/Mk/bsd.gnome.mk +++ b/Mk/bsd.gnome.mk @@ -477,11 +477,13 @@ pygnome2_USE_GNOME_IMPL=libgnomeui pygtk2 intltool_DETECT= ${LOCALBASE}/bin/intltool-extract intltool_BUILD_DEPENDS= ${intltool_DETECT}:${PORTSDIR}/textproc/intltool -intlhack_PRE_PATCH= ${FIND} ${WRKSRC} -name "intltool-merge.in" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|mkdir $$lang or|mkdir $$lang, 0777 or| ; \ - s|^push @INC, "/.*|push @INC, "${LOCALBASE}/share/intltool";| ; \ - s|/usr/bin/iconv|${ICONV_CMD}|g ; \ - s|unpack *[(]'"'"'U\*'"'"'|unpack ('"'"'C*'"'"'|' +intlhack_PRE_PATCH= ${FIND} ${WRKSRC} -name "intltool-merge.in" | ${XARGS} ${REINPLACE_CMD} \ + 's|mkdir $$lang or|mkdir $$lang, 0777 or| ; \ + s|^push @INC, "/.*|push @INC, "${LOCALBASE}/share/intltool";| ; \ + s|/usr/bin/iconv|${ICONV_CMD}|g ; \ + s|unpack *[(]'"'"'U\*'"'"'|unpack ('"'"'C*'"'"'|' ; \ + ${FIND} ${WRKSRC} -name configure | ${XARGS} ${REINPLACE_CMD} \ + 's/DATADIRNAME=lib/DATADIRNAME=share/' intlhack_USE_GNOME_IMPL=intltool gtkhtml3_LIB_DEPENDS= libgtkhtml-3.14.so:${PORTSDIR}/www/gtkhtml3 -- cgit