svn commit: r559704 - head/sysutils/usbhotkey

Piotr Kubaj pkubaj at FreeBSD.org
Thu Dec 31 01:43:43 UTC 2020


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


More information about the svn-ports-all mailing list