diff options
author | obache <obache> | 2012-02-01 12:48:17 +0000 |
---|---|---|
committer | obache <obache> | 2012-02-01 12:48:17 +0000 |
commit | 90cd7c673a054415ec64eb996dd9bf209deab348 (patch) | |
tree | a4d29a1a9bab2360105786bdd292d7605be0e19c /devel/ruby-pkg-config | |
parent | 6f6cd272d7f695e3c1bd57d7c9f070f054833933 (diff) | |
download | pkgsrc-90cd7c673a054415ec64eb996dd9bf209deab348.tar.gz |
Instead of SUBST, pass `vendor' directories to setup.rb as `site' directory.
Diffstat (limited to 'devel/ruby-pkg-config')
-rw-r--r-- | devel/ruby-pkg-config/Makefile | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/devel/ruby-pkg-config/Makefile b/devel/ruby-pkg-config/Makefile index 1f13e830678..78afbea539e 100644 --- a/devel/ruby-pkg-config/Makefile +++ b/devel/ruby-pkg-config/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2012/02/01 12:32:12 obache Exp $ +# $NetBSD: Makefile,v 1.7 2012/02/01 12:48:17 obache Exp $ DISTNAME= pkg-config-1.1.3 CATEGORIES= devel @@ -17,14 +17,9 @@ PKG_DESTDIR_SUPPORT= user-destdir USE_RUBY_SETUP= yes -SUBST_CLASSES+= vsetup -SUBST_STAGE.vsetup= pre-configure -SUBST_FILES.vsetup= setup.rb -SUBST_SED.vsetup= -e "s|'sitedir'|'vendordir'|g" -SUBST_SED.vsetup+= -e "s|'sitelibdir'|'vendorlibdir'|g" -SUBST_SED.vsetup+= -e 's|"sitelibdir"|"vendorlibdir"|g' -SUBST_SED.vsetup+= -e 's|/site_ruby/|/vendor_ruby/|g' -SUBST_MESSAGE.vsetup= Fixing setup.rb to use `vendor'. +CONFIGURE_ARGS+= --siteruby=${PREFIX}/${RUBY_VENDORLIB_BASE} \ + --siterubyver=${PREFIX}/${RUBY_VENDORLIB} \ + --siterubyverarch=${PREFIX}/${RUBY_VENDORARCHLIB} #do-test: # cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${RUBY} test/run-test.rb |