summaryrefslogtreecommitdiffstats
path: root/chat-im/pidgin/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'chat-im/pidgin/BUILD')
-rwxr-xr-xchat-im/pidgin/BUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/chat-im/pidgin/BUILD b/chat-im/pidgin/BUILD
index 88862af8cf..537b402baf 100755
--- a/chat-im/pidgin/BUILD
+++ b/chat-im/pidgin/BUILD
@@ -1,6 +1,11 @@
### had to cook up some pkg-config files for nss and nspr
CFLAGS="$CFLAGS -I${TRACK_ROOT}/usr/X11R6/include" &&
+
+if is_depends_enabled $SPELL gtk+2; then
+ LIBS="$LIBS -lX11"
+fi &&
export LIBS="${LIBS} -lm" &&
+
export PKG_CONFIG_PATH="${TRACK_ROOT}/usr/include/nss:${TRACK_ROOT}/usr/include/nspr" &&
make_single &&
default_build &&