Hi, this diff is a noop for current mainstream arches, but will
allow it to build on aarch64 (which has no ports GCC).

COMPILER basically means "use the base compiler if it's modern,
otherwise use one of the following ports compilers".

OK?

CC'ing to ports@ to show people how to do it.


Index: Makefile
===================================================================
RCS file: /cvs/ports/security/pcsc-lite/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- Makefile    8 Jun 2017 19:34:03 -0000       1.37
+++ Makefile    9 Jun 2017 16:42:57 -0000
@@ -23,11 +23,11 @@ PERMIT_PACKAGE_CDROM=       Yes
 
 WANTLIB=               c pthread usb-1.0
 
-MODULES=               gcc4 \
-                       lang/python
+MODULES+=              lang/python
 
-MODGCC4_ARCHS=         *
-MODGCC4_LANGS=         c
+# thread-local storage
+COMPILER=              gcc
+COMPILER_LANGS=                c
 
 LIB_DEPENDS=           devel/libusb1
 

Reply via email to