sysutils/usbhotkey: unbreak on powerpc64 elfv1
Builds with GCC9. While here, add USES=localbase:ldflags.
This commit is contained in:
parent
1e3e436cec
commit
b38610a919
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559704
@ -12,20 +12,15 @@ COMMENT= Utility to remap USB keyboards under X11
|
|||||||
|
|
||||||
LICENSE= GPLv2
|
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 \
|
LIB_DEPENDS= libhid.so:devel/libhid \
|
||||||
libXtst.so:x11/libXtst
|
libXtst.so:x11/libXtst
|
||||||
|
|
||||||
USES= gmake
|
USES= compiler:c11 gmake localbase:ldflags
|
||||||
USE_RUBY= yes
|
USE_RUBY= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include \
|
CPPFLAGS+= -I${LOCALBASE}/include/ruby-${RUBY_VER} \
|
||||||
-I${LOCALBASE}/include/ruby-${RUBY_VER} \
|
|
||||||
-I${LOCALBASE}/include/ruby-${RUBY_VER}/${RUBY_ARCH}
|
-I${LOCALBASE}/include/ruby-${RUBY_VER}/${RUBY_ARCH}
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
|
||||||
LIBS+= -lX11
|
LIBS+= -lX11
|
||||||
|
|
||||||
CONFIGURE_ARGS= --without-Imlib
|
CONFIGURE_ARGS= --without-Imlib
|
||||||
|
Loading…
Reference in New Issue
Block a user