Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2021 13:12:50 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567926 - head/sysutils/lcdproc
Message-ID:  <202103091312.129DCoiD082876@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Mar  9 13:12:49 2021
New Revision: 567926
URL: https://svnweb.freebsd.org/changeset/ports/567926

Log:
  sysutils/lcdproc: fix build on powerpc64 elfv2
  
  Use GCC:
  In file included from serialVFD_io.c:45:
  ./port.h:344:32: error: invalid output constraint '=a' in asm
          __asm__ volatile ("inb %1,%0":"=a" (value)
  
  MFH:		2021Q1

Modified:
  head/sysutils/lcdproc/Makefile

Modified: head/sysutils/lcdproc/Makefile
==============================================================================
--- head/sysutils/lcdproc/Makefile	Tue Mar  9 12:54:25 2021	(r567925)
+++ head/sysutils/lcdproc/Makefile	Tue Mar  9 13:12:49 2021	(r567926)
@@ -93,6 +93,10 @@ PLIST_SUB+=	X86=""
 PLIST_SUB+=	X86="@comment "
 .endif
 
+.if ${ARCH} == powerpc64
+USE_GCC=	any
+.endif
+
 .if ${PORT_OPTIONS:MUSB}
 CONFIGURE_ARGS+=	--enable-libusb
 PLIST_SUB+=		USB=""



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103091312.129DCoiD082876>