1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

- Fix build with clang (needs to link with libX11)

- Port is stage safe and uses GNU Configure

MFH:		2014Q3
This commit is contained in:
Pawel Pekala 2014-08-03 11:55:57 +00:00
parent ddc18dcf1a
commit 90ae1f1f9a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363882

View File

@ -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 <bsd.port.mk>