pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/redis
Module Name: pkgsrc
Committed By: maya
Date: Sun Jul 15 23:35:35 UTC 2018
Modified Files:
pkgsrc/databases/redis: Makefile
Log Message:
redis: force -march=i586 on x86_32 to allow 8 byte atomics
(netbsd defaults to i486 and doesn't provide magic to hide this)
Fixes PR pkg/53451
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/databases/redis/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/redis/Makefile
diff -u pkgsrc/databases/redis/Makefile:1.37 pkgsrc/databases/redis/Makefile:1.38
--- pkgsrc/databases/redis/Makefile:1.37 Wed Apr 4 10:47:49 2018
+++ pkgsrc/databases/redis/Makefile Sun Jul 15 23:35:35 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2018/04/04 10:47:49 fhajny Exp $
+# $NetBSD: Makefile,v 1.38 2018/07/15 23:35:35 maya Exp $
DISTNAME= redis-4.0.9
CATEGORIES= databases
@@ -55,6 +55,11 @@ CHECK_PORTABILITY_SKIP+= deps/jemalloc/c
post-extract:
${CHMOD} -R g-w ${WRKSRC}
+.if ${MACHINE_ARCH} == "i386"
+# Need 8 byte atomics.
+CFLAGS+= -march=i586
+.endif
+
post-install:
${INSTALL_DATA} ${WRKSRC}/redis.conf ${DESTDIR}${EGDIR}/redis.conf.example
.for file in ${DOCFILES}
Home |
Main Index |
Thread Index |
Old Index