[Midnightbsd-cvs] mports [20746] trunk/lang/ruby22/Makefile: sync closer to freebsd port

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Nov 12 18:42:42 EST 2015


Revision: 20746
          http://svnweb.midnightbsd.org/mports/?rev=20746
Author:   laffer1
Date:     2015-11-12 18:42:41 -0500 (Thu, 12 Nov 2015)
Log Message:
-----------
sync closer to freebsd port

Modified Paths:
--------------
    trunk/lang/ruby22/Makefile

Modified: trunk/lang/ruby22/Makefile
===================================================================
--- trunk/lang/ruby22/Makefile	2015-11-12 23:42:13 UTC (rev 20745)
+++ trunk/lang/ruby22/Makefile	2015-11-12 23:42:41 UTC (rev 20746)
@@ -20,7 +20,6 @@
 BUILD_DEPENDS=	libffi>=0:${PORTSDIR}/devel/libffi
 RUN_DEPENDS=	libffi>=0:${PORTSDIR}/devel/libffi
 
-GNU_CONFIGURE=	yes
 WRKSRC=		${RUBY_WRKSRC}
 CONFIGURE_ARGS=	${RUBY_CONFIGURE_ARGS} \
 		--disable-rpath \
@@ -31,12 +30,16 @@
 		--with-vendordir="${PREFIX}/lib/ruby/vendor_ruby" \
 		--with-rubyhdrdir="${PREFIX}/include/ruby-2.2/" \
 		--with-rubylibprefix="${PREFIX}/lib/ruby" \
-		--docdir="${PREFIX}/share/doc/ruby22"	
+		--docdir="${PREFIX}/share/doc/ruby22"
+CONFIGURE_ENV+=	LC_ALL=C debugflags=
+CPPFLAGS+=	-I${LOCALBASE}/include
+GNU_CONFIGURE=	yes
+# Keep this, else ruby will fail to load libraries dependent of libpthread.
+LIBS+=		-lpthread -L${LOCALBASE}/lib
 USE_OPENSSL=	yes
 USE_LDCONFIG=	yes
 USE_AUTOTOOLS=	autoconf
 
-CONFIGURE_ENV+=	LC_ALL=C debugflags=
 MAKE_ENV+=	LC_ALL=C
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${RUBY_DISTVERSION}
@@ -77,10 +80,6 @@
 _SUF1=	_${PORTREVISION}
 .endif
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-# Keep this, else ruby will fail to load libraries dependent op libpthread.
-LIBS+=		-lpthread -L${LOCALBASE}/lib
-
 CONFIGURE_ARGS+=	--disable-dtrace
 
 .if ${ARCH} == "armv6" || ${ARCH} == "armv6hf"



More information about the Midnightbsd-cvs mailing list