aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-12-21 12:39:52 +0800
committereadler <eadler@FreeBSD.org>2013-12-21 12:39:52 +0800
commit497b2c0707c907f7df53e1d9b50e6cac1ba90bce (patch)
tree6a7e8d55e15c4c749cf695dd8ef7736574c82976 /misc
parent5f469cc3007c41e06fd8b264c70674cac1b66036 (diff)
downloadfreebsd-ports-gnome-497b2c0707c907f7df53e1d9b50e6cac1ba90bce.tar.gz
freebsd-ports-gnome-497b2c0707c907f7df53e1d9b50e6cac1ba90bce.tar.zst
freebsd-ports-gnome-497b2c0707c907f7df53e1d9b50e6cac1ba90bce.zip
misc/hotkeys: Fix build
The build requires two additional libraries: Xft and pangoxft
Diffstat (limited to 'misc')
-rw-r--r--misc/hotkeys/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/hotkeys/Makefile b/misc/hotkeys/Makefile
index 0a98fb283ad0..7ffb963bbd82 100644
--- a/misc/hotkeys/Makefile
+++ b/misc/hotkeys/Makefile
@@ -20,7 +20,7 @@ CONFIGURE_ARGS= --with-db3-inc=${BDB_INCLUDE_DIR} \
--with-db3-lib=${BDB_LIB_DIR} \
--with-db-name=${BDB_LIB_NAME}
-USE_XORG= x11 xkbfile xmu
+USE_XORG= x11 xkbfile xmu xft
GNU_CONFIGURE= yes
USE_BDB= yes
USES= gmake
@@ -39,6 +39,8 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e '/^install-exec-am/s/install-sysconfDATA//' \
${WRKSRC}/src/Makefile.in
+post-configure:
+ ${REINPLACE_CMD} -e 's,-lXinerama,-lXinerama `pkgconf --libs pangoxft`,g' ${WRKSRC}/src/Makefile
post-install:
@${INSTALL_DATA} ${WRKSRC}/src/hotkeys.conf ${STAGEDIR}${PREFIX}/etc/hotkeys.conf.sample