svn commit: r363882 - head/sysutils/usbhotkey

Pawel Pekala pawel at FreeBSD.org
Sun Aug 3 11:55:58 UTC 2014


Author: pawel
Date: Sun Aug  3 11:55:57 2014
New Revision: 363882
URL: http://svnweb.freebsd.org/changeset/ports/363882
QAT: https://qat.redports.org/buildarchive/r363882/

Log:
  - Fix build with clang (needs to link with libX11)
  - Port is stage safe and uses GNU Configure
  
  MFH:		2014Q3

Modified:
  head/sysutils/usbhotkey/Makefile

Modified: head/sysutils/usbhotkey/Makefile
==============================================================================
--- head/sysutils/usbhotkey/Makefile	Sun Aug  3 11:53:22 2014	(r363881)
+++ head/sysutils/usbhotkey/Makefile	Sun Aug  3 11:55:57 2014	(r363882)
@@ -16,12 +16,13 @@ LIB_DEPENDS=	libhid.so:${PORTSDIR}/devel
 
 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 <bsd.port.mk>


More information about the svn-ports-all mailing list