svn commit: r567926 - head/sysutils/lcdproc

Piotr Kubaj pkubaj at FreeBSD.org
Tue Mar 9 13:12:50 UTC 2021


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=""


More information about the svn-ports-head mailing list