From owner-svn-ports-head@FreeBSD.ORG Sun Feb 24 12:21:39 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 00208385 for ; Sun, 24 Feb 2013 12:21:38 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id C878D1EC8 for ; Sun, 24 Feb 2013 12:21:38 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1OCLclD089889 for ; Sun, 24 Feb 2013 12:21:38 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1OCLcpJ089883 for svn-ports-head@freebsd.org; Sun, 24 Feb 2013 12:21:38 GMT (envelope-from bdrewery) Received: (qmail 88692 invoked from network); 24 Feb 2013 06:21:36 -0600 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 24 Feb 2013 06:21:36 -0600 Message-ID: <512A05CA.2090200@FreeBSD.org> Date: Sun, 24 Feb 2013 06:21:30 -0600 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: Steve Wills Subject: Re: svn commit: r312861 - head/Mk References: <201302240602.r1O6267A014644@svn.freebsd.org> In-Reply-To: <201302240602.r1O6267A014644@svn.freebsd.org> X-Enigmail-Version: 1.5 OpenPGP: id=3C9B0CF9; url=http://www.shatow.net/bryan/bryan.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2WGCRSVAHXDGHHMIJBNFW" Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2013 12:21:39 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2WGCRSVAHXDGHHMIJBNFW Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2/24/2013 12:02 AM, Steve Wills wrote: > Author: swills > Date: Sun Feb 24 06:02:06 2013 > New Revision: 312861 > URL: http://svnweb.freebsd.org/changeset/ports/312861 >=20 > Log: > - Add ability to patch rubygem- ports Thanks! Maybe this will let us patch away those hard dependencies and make porting these easier. >=20 > Modified: > head/Mk/bsd.ruby.mk >=20 > Modified: head/Mk/bsd.ruby.mk > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/Mk/bsd.ruby.mk Sun Feb 24 02:21:00 2013 (r312860) > +++ head/Mk/bsd.ruby.mk Sun Feb 24 06:02:06 2013 (r312861) > @@ -203,6 +203,8 @@ RUBY_DISTVERSION?=3D ${RUBY_RELVERSION}-p$ > =20 > RUBY_WRKSRC=3D ${WRKDIR}/ruby-${RUBY_DISTVERSION} > =20 > +GEM_ENV?=3D LC_CTYPE=3DUTF-8 > + > RUBY_CONFIGURE_ARGS+=3D --with-rubyhdrdir=3D"${PREFIX}/include/ruby-1.= 9/" \ > --with-rubylibprefix=3D"${PREFIX}/lib/ruby" \ > --docdir=3D"${RUBY_DOCDIR}" \ > @@ -387,8 +389,7 @@ EXTRACT_SUFX=3D .gem > EXTRACT_ONLY=3D > DIST_SUBDIR=3D rubygem > =20 > -NO_BUILD=3D yes > - > +EXTRACT_DEPENDS+=3D ${RUBYGEMBIN}:${PORTSDIR}/devel/ruby-gems > GEMS_BASE_DIR=3D lib/ruby/gems/${RUBY_VER} > GEMS_DIR=3D ${GEMS_BASE_DIR}/gems > DOC_DIR=3D ${GEMS_BASE_DIR}/doc > @@ -428,10 +429,21 @@ RUBYGEM_ARGS=3D-l --no-update-sources --no > RUBYGEM_ARGS+=3D --no-rdoc > .endif > =20 > +do-extract: > + @${SETENV} ${GEM_ENV} ${RUBYGEMBIN} unpack --target=3D${WRKDIR} ${DIS= TDIR}/${DIST_SUBDIR}/${GEMFILES} > + @${TAR} -xOzf ${DISTDIR}/${DIST_SUBDIR}/${GEMFILES} metadata.gz | ${G= ZCAT} > ${BUILD_WRKSRC}/${GEMFILES}spec > + > +do-build: > + @(cd ${BUILD_WRKSRC}; if ! ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} build -= -force ${GEMFILES}spec ; then \ > + if [ x !=3D x${BUILD_FAIL_MESSAGE} ] ; then \ > + ${ECHO_MSG} "=3D=3D=3D> Compilation failed unexpectedly."; \ > + (${ECHO_CMD} ${BUILD_FAIL_MESSAGE}) | ${FMT} 75 79 ; \ > + fi; \ > + ${FALSE}; \ > + fi) > + > do-install: > -.for _D in ${GEMFILES} > - ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} install ${RUBYGEM_ARGS} ${DISTDIR}= /${DIST_SUBDIR}/${_D} -- --build-args ${CONFIGURE_ARGS} > -.endfor > + @(cd ${BUILD_WRKSRC}; ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} install ${RU= BYGEM_ARGS} ${GEMFILES} -- --build-args ${CONFIGURE_ARGS}) > =20 > . if defined(RUBYGEM_AUTOPLIST) > . if !target(post-install-script) >=20 --=20 Regards, Bryan Drewery bdrewery@freenode/EFNet ------enig2WGCRSVAHXDGHHMIJBNFW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJRKgXPAAoJEG54KsA8mwz5XC8P/R39a8VN0xzIFt0sJuOgti0R nWnAiHGY4kWjYxSw0iGJ21ryh+f70KeSPMQr5MDn6zyalJsO3ByQYkaw6brkcOI5 5ErHug3BC6moSvImiuPzHGHMKeNjbtPEJpur+XHkuH3nXjn77XKY8a8v0sqCGbvz p7KumoYO3txcgTuy3QX7gZ+bccWu3LGe7mvOpdSoobMycQ828wnKLi/4F3HWnA4t ebjoQxsWNVwENjsXdctnNBOYHJP3xzINh56lpnqEno+kYJ21F+KHWiYjZ8GTH0Mx yxLy/b8C1MMYOAMp0VBbpRs6NTz9iR6USXN/rxwU2/aapVfAQ0MH8aPHZhlmnwZ8 iy8P3NAg97NeUZLpWZLeHs1KSWC7/kIvAS1gvmWCz+K3IiQgbOLiRMLyO9ABHhqQ CYiPVNTRtwiXWK0WfqgE+G9678IloIYHvAMfTDcE9VGBS/wF8YuG4aSGeaKehuQU Ef1mXE4Xx2h3W5GiRkGm0bg/Nh1+7fQmBng2cDaWpGIy87SZ2PYB57pHyJ4gRMBD c4P1Hwqa1zluvIXl4BkD4KrX0ZLRIgklsRVAyYXydqmGjdo2KudbCSUReHAhtwhT HCuE3+ScP4agRRZA3hw8aX0/uXjMPmwzwF0g2Zxq/4xzpIB09B/fmDJ+LR9Tog8N D7ZlcBkXoSq3CCDBU2LF =VD5V -----END PGP SIGNATURE----- ------enig2WGCRSVAHXDGHHMIJBNFW--