summaryrefslogtreecommitdiff
path: root/filesystems/glusterfs
diff options
context:
space:
mode:
authorjoerg <joerg>2015-05-01 12:19:07 +0000
committerjoerg <joerg>2015-05-01 12:19:07 +0000
commit3f08fc59a9870a60cab7f39c607dcbd0f450f883 (patch)
treeb182c9f7c6e71f5b9275d7df25a686b38c5261bd /filesystems/glusterfs
parentb61f1c62bf2066771aafcaf487a6ff762d5fc4ce (diff)
downloadpkgsrc-3f08fc59a9870a60cab7f39c607dcbd0f450f883.tar.gz
ec.la is installed when MMX is present and usable. This is the default
for amd64, so include it in the PLIST & bump revision.
Diffstat (limited to 'filesystems/glusterfs')
-rw-r--r--filesystems/glusterfs/Makefile13
-rw-r--r--filesystems/glusterfs/PLIST4
2 files changed, 12 insertions, 5 deletions
diff --git a/filesystems/glusterfs/Makefile b/filesystems/glusterfs/Makefile
index 009f31b4395..682c3a5db3e 100644
--- a/filesystems/glusterfs/Makefile
+++ b/filesystems/glusterfs/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.49 2015/04/09 15:20:47 manu Exp $
+# $NetBSD: Makefile,v 1.50 2015/05/01 12:19:07 joerg Exp $
DISTNAME= glusterfs-3.6.2
-#PKGREVISION= 1
+PKGREVISION= 1
CATEGORIES= filesystems
MASTER_SITES= http://bits.gluster.org/pub/gluster/glusterfs/src/
@@ -85,6 +85,13 @@ post-install:
${INSTALL_SCRIPT} ${DESTDIR}/sbin/mount_glusterfs \
${DESTDIR}/${PREFIX}/sbin/mount_glusterfs
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "x86_64"
+PLIST_VARS+=ec
+PLIST.ec=yes
+.endif
+
# Debug
CFLAGS+= -g
INSTALL_UNSTRIPPED= yes
@@ -94,8 +101,6 @@ CONFIGURE_ARGS+= --enable-debug
#CFLAGS+=-include gc.h
#LIBS+=-lgc
-.include "../../mk/bsd.prefs.mk"
-
#.include "../../devel/argp/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
diff --git a/filesystems/glusterfs/PLIST b/filesystems/glusterfs/PLIST
index 55f8b9a7058..ef345ea5f49 100644
--- a/filesystems/glusterfs/PLIST
+++ b/filesystems/glusterfs/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.22 2015/04/09 15:20:47 manu Exp $
+@comment $NetBSD: PLIST,v 1.23 2015/05/01 12:19:07 joerg Exp $
${PYSITELIB}/gluster/__init__.py
${PYSITELIB}/gluster/__init__.pyc
${PYSITELIB}/gluster/__init__.pyo
@@ -21,6 +21,8 @@ lib/glusterfs/3.6.2/rpc-transport/socket.la
lib/glusterfs/3.6.2/xlator/cluster/afr.la
lib/glusterfs/3.6.2/xlator/cluster/dht.la
lib/glusterfs/3.6.2/xlator/cluster/distribute.so
+${PLIST.ec}lib/glusterfs/3.6.2/xlator/cluster/disperse.so
+${PLIST.ec}lib/glusterfs/3.6.2/xlator/cluster/ec.la
lib/glusterfs/3.6.2/xlator/cluster/nufa.la
lib/glusterfs/3.6.2/xlator/cluster/pump.la
lib/glusterfs/3.6.2/xlator/cluster/replicate.so