Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2020 01:43:43 +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: r559704 - head/sysutils/usbhotkey
Message-ID:  <202012310143.0BV1hh1u098835@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Thu Dec 31 01:43:42 2020
New Revision: 559704
URL: https://svnweb.freebsd.org/changeset/ports/559704

Log:
  sysutils/usbhotkey: unbreak on powerpc64 elfv1
  
  Builds with GCC9. While here, add USES=localbase:ldflags.

Modified:
  head/sysutils/usbhotkey/Makefile

Modified: head/sysutils/usbhotkey/Makefile
==============================================================================
--- head/sysutils/usbhotkey/Makefile	Thu Dec 31 01:39:21 2020	(r559703)
+++ head/sysutils/usbhotkey/Makefile	Thu Dec 31 01:43:42 2020	(r559704)
@@ -12,20 +12,15 @@ COMMENT=	Utility to remap USB keyboards under X11
 
 LICENSE=	GPLv2
 
-BROKEN_FreeBSD_11_powerpc64=	fails to compile on powerpc64 elfv1: ruby.h: wrong number of arguments specified for 'deprecated' attribute
-BROKEN_FreeBSD_12_powerpc64=	fails to compile on powerpc64 elfv1: ruby.h: wrong number of arguments specified for 'deprecated' attribute
-
 LIB_DEPENDS=	libhid.so:devel/libhid \
 		libXtst.so:x11/libXtst
 
-USES=		gmake
+USES=		compiler:c11 gmake localbase:ldflags
 USE_RUBY=	yes
 GNU_CONFIGURE=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include \
-		-I${LOCALBASE}/include/ruby-${RUBY_VER} \
+CPPFLAGS+=	-I${LOCALBASE}/include/ruby-${RUBY_VER} \
 		-I${LOCALBASE}/include/ruby-${RUBY_VER}/${RUBY_ARCH}
-LDFLAGS+=	-L${LOCALBASE}/lib
 LIBS+=		-lX11
 
 CONFIGURE_ARGS=	--without-Imlib



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