summaryrefslogtreecommitdiff
path: root/filesystems/glusterfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/glusterfs/Makefile')
-rw-r--r--filesystems/glusterfs/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/filesystems/glusterfs/Makefile b/filesystems/glusterfs/Makefile
index b66567e5f4d..e273f44d3f4 100644
--- a/filesystems/glusterfs/Makefile
+++ b/filesystems/glusterfs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2014/05/17 16:10:44 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2014/05/18 21:21:32 joerg Exp $
DISTNAME= glusterfs-3.5.0
PKGREVISION= 3
@@ -86,8 +86,9 @@ LIBS+=-lgc
.include "../../mk/bsd.prefs.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
-.if ${OPSYS} == "NetBSD"
-#.include "../../filesystems/perfuse/buildlink3.mk"
+
+.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && exists(/usr/include/execinfo.h)
+LIBS+= -lexecinfo
.endif
.include "../../mk/bsd.pkg.mk"