pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libatomic-links



Module Name:    pkgsrc
Committed By:   he
Date:           Sun Jan  3 18:28:05 UTC 2021

Modified Files:
        pkgsrc/devel/libatomic-links: Makefile

Log Message:
Allow this to be installed on i386 too.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/libatomic-links/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/libatomic-links/Makefile
diff -u pkgsrc/devel/libatomic-links/Makefile:1.2 pkgsrc/devel/libatomic-links/Makefile:1.3
--- pkgsrc/devel/libatomic-links/Makefile:1.2   Sat Dec 12 01:39:37 2020
+++ pkgsrc/devel/libatomic-links/Makefile       Sun Jan  3 18:28:05 2021
@@ -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 @@ MAINTAINER=             pkgsrc-users%NetBSD.org@localhost
 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 @@ INSTALLATION_DIRS+=   lib/libatomic
 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 @@ do-install:
                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