summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2014-12-15 11:49:50 +0000
committerfhajny <fhajny@pkgsrc.org>2014-12-15 11:49:50 +0000
commit5ef7f3ad8be336bbf70c9bde5c8f25479a94541f (patch)
treebec51621c679393b8a046468b72d7cb811a63425 /chat
parent277db77dd8a596c47f10803983f41fba6d797769 (diff)
downloadpkgsrc-5ef7f3ad8be336bbf70c9bde5c8f25479a94541f.tar.gz
Make sure to pass full LDFLAGS. Fixes build on NetBSD.
Diffstat (limited to 'chat')
-rw-r--r--chat/prosody/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/chat/prosody/Makefile b/chat/prosody/Makefile
index 5996bcc9ffd..6eedbdc7073 100644
--- a/chat/prosody/Makefile
+++ b/chat/prosody/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2014/11/27 11:21:40 fhajny Exp $
+# $NetBSD: Makefile,v 1.20 2014/12/15 11:49:50 fhajny Exp $
#
DISTNAME= prosody-0.9.7
@@ -63,7 +63,7 @@ SUBST_VARS.path= EGDIR PROSODY_DATA PROSODY_LOG PROSODY_RUN
CONFIGURE_ARGS+= --cflags=${CFLAGS:Q}
CONFIGURE_ARGS+= --datadir=${PROSODY_DATA}
-CONFIGURE_ARGS+= --ldflags="${COMPILER_RPATH_FLAG}${PREFIX}/lib -shared"
+CONFIGURE_ARGS+= --ldflags="-L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib -shared"
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-lua-include=${PREFIX}/${LUA_INCDIR}