aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-09-25 23:18:27 +0800
committertijl <tijl@FreeBSD.org>2014-09-25 23:18:27 +0800
commitb20f32bb38994e1bb5de05cecc229f10659e0f49 (patch)
treec350c4abc20ce22bda0b7dba0636816742669bc8 /games
parent20be128769eb36776631a3639656f9528820a14c (diff)
downloadfreebsd-ports-gnome-b20f32bb38994e1bb5de05cecc229f10659e0f49.tar.gz
freebsd-ports-gnome-b20f32bb38994e1bb5de05cecc229f10659e0f49.tar.zst
freebsd-ports-gnome-b20f32bb38994e1bb5de05cecc229f10659e0f49.zip
- 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)
Diffstat (limited to 'games')
-rw-r--r--games/gnome-chess/Makefile6
-rw-r--r--games/klavaro/Makefile17
2 files changed, 7 insertions, 16 deletions
diff --git a/games/gnome-chess/Makefile b/games/gnome-chess/Makefile
index c0d36085f74f..b099c6d78f11 100644
--- a/games/gnome-chess/Makefile
+++ b/games/gnome-chess/Makefile
@@ -16,14 +16,14 @@ BUILD_DEPENDS= crafty:${PORTSDIR}/games/crafty \
xmllint:${PORTSDIR}/textproc/libxml2 \
p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
-USES= gmake pathfix pkgconfig desktop-file-utils shared-mime-info tar:xz
+USES= gmake pkgconfig desktop-file-utils shared-mime-info tar:xz
USE_GL= gl glu
-USE_GNOME= gtk30 librsvg2
+USE_GNOME= gtk30 intlhack librsvg2
INSTALLS_OMF= yes
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+LIBS+= -L${LOCALBASE}/lib
MAKE_ARGS= XML_I18N_UPDATE="${TRUE}" XML_I18N_EXTRACT="${TRUE}"
DATADIR= ${PREFIX}/share/gnome-chess
diff --git a/games/klavaro/Makefile b/games/klavaro/Makefile
index e4b8a12add49..dd667b5a3196 100644
--- a/games/klavaro/Makefile
+++ b/games/klavaro/Makefile
@@ -12,25 +12,16 @@ COMMENT= Touchtyping trainer
LICENSE= GPLv3
-LIB_DEPENDS= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \
- libpcre.so:${PORTSDIR}/devel/pcre \
- libcurl.so:${PORTSDIR}/ftp/curl \
- libcairo.so:${PORTSDIR}/graphics/cairo \
- libpng15.so:${PORTSDIR}/graphics/png \
- libfreetype.so:${PORTSDIR}/print/freetype2 \
- libexpat.so:${PORTSDIR}/textproc/expat2 \
- libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
+LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
libgtkdatabox.so:${PORTSDIR}/x11-toolkits/gtkdatabox
-USES= pkgconfig gettext gmake iconv pathfix tar:bzip2
-USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext \
- xfixes xi xinerama xrandr xrender
-USE_GNOME= gtk20
+USES= pkgconfig gettext gmake iconv tar:bzip2
+USE_GNOME= gtk20 intlhack
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/gtkdatabox
-LDFLAGS+= -L${LOCALBASE}/lib -rdynamic
+LIBS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes