summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-12-11 08:10:50 +0000
committerobache <obache@pkgsrc.org>2014-12-11 08:10:50 +0000
commitdc87c9e687c3046060cf022ad0d6d1f7fa08bbb1 (patch)
tree6c3264ac846806587955f889465ad73d5200bba6
parent9f76fdb18e213e78c21f6fa7f320508bbb339ba2 (diff)
downloadpkgsrc-dc87c9e687c3046060cf022ad0d6d1f7fa08bbb1.tar.gz
Use COMPILER_RPATH_FLAG instead of bare "-Wl,-R".
-rw-r--r--devel/libevent/builtin.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/libevent/builtin.mk b/devel/libevent/builtin.mk
index 15ad48d520c..f8dac219f48 100644
--- a/devel/libevent/builtin.mk
+++ b/devel/libevent/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.14 2014/12/10 21:11:10 pettai Exp $
+# $NetBSD: builtin.mk,v 1.15 2014/12/11 08:10:50 obache Exp $
BUILTIN_PKG:= libevent
@@ -156,7 +156,7 @@ override-libevent-pkgconfig:
${ECHO} "Name: libevent"; \
${ECHO} "Description: libevent is an asynchronous notification event loop library"; \
${ECHO} "Version: ${BUILTIN_VERSION.libevent}"; \
- ${ECHO} "Libs: -Wl,-R\$${libdir} -L\$${libdir} -levent"; \
+ ${ECHO} "Libs: ${COMPILER_RPATH_FLAG}\$${libdir} -L\$${libdir} -levent"; \
${ECHO} "Cflags: -I\$${includedir}"; \
} >> ${BLKDIR_PKGCFG}/${LIBEVENT_PKGCFGF};
. endif