summaryrefslogtreecommitdiff
path: root/devel/elfsh/Makefile
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2016-03-09 21:40:05 +0000
committertnn <tnn@pkgsrc.org>2016-03-09 21:40:05 +0000
commit20e2159f332c6442173a89acefa9c250276c3978 (patch)
treea0917e6256c1a9556e1d6961256e8fb72c170f3a /devel/elfsh/Makefile
parent7b879c9f5e58782ffce5fcb608ffa3da2c2bf257 (diff)
downloadpkgsrc-20e2159f332c6442173a89acefa9c250276c3978.tar.gz
needs dlopen
Diffstat (limited to 'devel/elfsh/Makefile')
-rw-r--r--devel/elfsh/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/elfsh/Makefile b/devel/elfsh/Makefile
index d7ffbc9e1a4..1b612a220ec 100644
--- a/devel/elfsh/Makefile
+++ b/devel/elfsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2013/07/15 02:02:20 ryoon Exp $
+# $NetBSD: Makefile,v 1.24 2016/03/09 21:40:05 tnn Exp $
#
VERS= 0.51b3
@@ -15,6 +15,7 @@ COMMENT= ELF format exploration shell
MAKE_JOBS_SAFE= no
+LDFLAGS+= ${BUILDLINK_LDADD.dl:Q}
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
SUBST_CLASSES+= elfsh
@@ -47,5 +48,6 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/doc/libelfsh-ref.txt \
${DESTDIR}${PREFIX}/share/doc/elfsh/libelfsh-ref.txt
+.include "../../mk/dlopen.buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"