pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/filesystems/glusterfs ec.la is installed when MMX is p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15ffc3a2cb2b
branches:  trunk
changeset: 651076:15ffc3a2cb2b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri May 01 12:19:07 2015 +0000

description:
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:

 filesystems/glusterfs/Makefile |  13 +++++++++----
 filesystems/glusterfs/PLIST    |   4 +++-
 2 files changed, 12 insertions(+), 5 deletions(-)

diffs (54 lines):

diff -r 146000fb576d -r 15ffc3a2cb2b filesystems/glusterfs/Makefile
--- a/filesystems/glusterfs/Makefile    Fri May 01 12:18:09 2015 +0000
+++ b/filesystems/glusterfs/Makefile    Fri May 01 12:19:07 2015 +0000
@@ -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 @@
        ${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 @@
 #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 -r 146000fb576d -r 15ffc3a2cb2b filesystems/glusterfs/PLIST
--- a/filesystems/glusterfs/PLIST       Fri May 01 12:18:09 2015 +0000
+++ b/filesystems/glusterfs/PLIST       Fri May 01 12:19:07 2015 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index