From 90ae1f1f9a9d52969481b17a1538348adfb8c5ca Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Sun, 3 Aug 2014 11:55:57 +0000 Subject: [PATCH] - Fix build with clang (needs to link with libX11) - Port is stage safe and uses GNU Configure MFH: 2014Q3 --- sysutils/usbhotkey/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysutils/usbhotkey/Makefile b/sysutils/usbhotkey/Makefile index febe90325603..7174579853a1 100644 --- a/sysutils/usbhotkey/Makefile +++ b/sysutils/usbhotkey/Makefile @@ -16,12 +16,13 @@ LIB_DEPENDS= libhid.so:${PORTSDIR}/devel/libhid \ USES= gmake USE_RUBY= yes -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include \ -I${LOCALBASE}/include/ruby-${RUBY_VER} \ -I${LOCALBASE}/include/ruby-${RUBY_VER}/${RUBY_ARCH} LDFLAGS+= -L${LOCALBASE}/lib +LIBS+= -lX11 OPTIONS_DEFINE= GUI OPTIONS_DEFAULT= GUI @@ -30,5 +31,4 @@ GUI_DESC= Enable GUI bits (via Imlib) GUI_LIB_DEPENDS= libImlib.so:${PORTSDIR}/graphics/imlib GUI_CONFIGURE_OFF= --without-Imlib -NO_STAGE= yes .include