pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Attempt to allow install with multiple Rubies.



Module Name:	pkgsrc-wip
Committed By:	Amitai Schleier <schmonz%NetBSD.org@localhost>
Pushed By:	schmonz
Date:		Thu Aug 17 14:12:12 2017 +0200
Changeset:	d6d33e5b429d49147575e3d893ffa55a288f9b83

Modified Files:
	ruby-rdiscount/Makefile
	ruby-rdiscount/PLIST

Log Message:
Attempt to allow install with multiple Rubies.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d6d33e5b429d49147575e3d893ffa55a288f9b83

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ruby-rdiscount/Makefile | 2 ++
 ruby-rdiscount/PLIST    | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diffs:
diff --git a/ruby-rdiscount/Makefile b/ruby-rdiscount/Makefile
index 07f67295dd..80a0f5ae34 100644
--- a/ruby-rdiscount/Makefile
+++ b/ruby-rdiscount/Makefile
@@ -9,6 +9,8 @@ HOMEPAGE=		http://dafoster.net/projects/rdiscount/
 COMMENT=		Converts documents in Markdown syntax to HTML
 LICENSE=		modified-bsd
 
+RUBYGEM_OPTIONS+=	--format-executable
+
 INSTALLATION_DIRS+=	${PKGMANDIR}/man1
 
 post-install:
diff --git a/ruby-rdiscount/PLIST b/ruby-rdiscount/PLIST
index a3a5cc67c4..53261a015a 100644
--- a/ruby-rdiscount/PLIST
+++ b/ruby-rdiscount/PLIST
@@ -1,5 +1,5 @@
 @comment $NetBSD$
-bin/rdiscount
+bin/rdiscount${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_EXTSDIR}/gem.build_complete
 ${GEM_EXTSDIR}/rdiscount.${RUBY_DLEXT}


Home | Main Index | Thread Index | Old Index