pkgsrc-WIP-changes archive

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

Move the test of PKGSRC_COMPILER to after bsd.prefs.mk is included.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Fri May 22 20:20:57 2020 +0200
Changeset:	8615d80035363720afecd77f1095ee2083786d34

Modified Files:
	libatomic/Makefile

Log Message:
Move the test of PKGSRC_COMPILER to after bsd.prefs.mk is included.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8615d80035363720afecd77f1095ee2083786d34

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

diffstat:
 libatomic/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diffs:
diff --git a/libatomic/Makefile b/libatomic/Makefile
index 5610df737a..2a715485c6 100644
--- a/libatomic/Makefile
+++ b/libatomic/Makefile
@@ -14,10 +14,6 @@ HOMEPAGE=	https://gcc.gnu.org/
 COMMENT=	Atomic fallback implementation for GCC
 LICENSE=	gnu-gpl-v3
 
-.if empty(PKGSRC_COMPILER:Mgcc*)
-PKG_SKIP_REASON+=	"Uses esoteric GCC-specific features"
-.endif
-
 USE_LANGUAGES=		c99 c++
 USE_TOOLS+=		gmake
 
@@ -36,6 +32,10 @@ CHECK_PORTABILITY_SKIP+=	contrib/*
 
 .include "../../mk/bsd.prefs.mk"
 
+.if empty(PKGSRC_COMPILER:Mgcc*)
+PKG_SKIP_REASON+=	"Uses esoteric GCC-specific features"
+.endif
+
 pre-configure:
 	${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
 


Home | Main Index | Thread Index | Old Index