pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libatomic-links Allow this to be installed on i3...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f7efc0b11f45
branches:  trunk
changeset: 444207:f7efc0b11f45
user:      he <he%pkgsrc.org@localhost>
date:      Sun Jan 03 18:28:05 2021 +0000

description:
Allow this to be installed on i386 too.

diffstat:

 devel/libatomic-links/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 4932d47b5cf4 -r f7efc0b11f45 devel/libatomic-links/Makefile
--- a/devel/libatomic-links/Makefile    Sun Jan 03 18:24:21 2021 +0000
+++ b/devel/libatomic-links/Makefile    Sun Jan 03 18:28:05 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/12/12 01:39:37 gutteridge Exp $
+# $NetBSD: Makefile,v 1.3 2021/01/03 18:28:05 he Exp $
 
 PKGNAME=               libatomic-links-1.0
 CATEGORIES=            devel
@@ -7,7 +7,8 @@
 COMMENT=               Make libatomic available from a unique directory
 LICENSE=               2-clause-bsd
 
-ONLY_FOR_PLATFORM=     NetBSD-*-powerpc
+ONLY_FOR_PLATFORM+=    NetBSD-*-powerpc
+ONLY_FOR_PLATFORM+=    NetBSD-*-i386
 
 DEPENDS+=              libatomic-[0-9]*:../../devel/libatomic
 
@@ -31,7 +32,6 @@
 do-patch:
        @${DO_NADA}
 
-.if (${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "powerpc")
 # Only needed here so far; need stems from rust which wants -latomic
 # but rust most probably should not always search /usr/pkg/lib
 do-install:
@@ -39,6 +39,5 @@
                b=$$(basename $$f); \
                ${LN} -s -f $$f ${DESTDIR}${PREFIX}/lib/libatomic/$$b; \
        done
-.endif
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index