Make use of devel/gas on aarch64.

Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/xine-lib/Makefile,v
retrieving revision 1.139
diff -u -p -r1.139 Makefile
--- Makefile    24 Oct 2018 14:28:08 -0000      1.139
+++ Makefile    26 Dec 2018 11:53:39 -0000
@@ -86,6 +86,11 @@ CONFIGURE_ENV=       CPPFLAGS="-I${X11BASE}/in
                LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \
                ac_cv_header_execinfo_h=no
 
+.if ${MACHINE_ARCH} == "aarch64"
+BUILD_DEPENDS+=        devel/gas
+CONFIGURE_ENV+=        AS="${LOCALBASE}/bin/gas"
+.endif
+
 NO_TEST=       Yes
 
 pre-configure:

Reply via email to