summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2021-06-02 15:51:21 +0000
committertaca <taca@pkgsrc.org>2021-06-02 15:51:21 +0000
commitbca6be937622e8f8b812b04130f133f2f7466b3b (patch)
tree609b1f31304031811194ced0ace26f71132019ef
parent60556f67330b10d0adf7975d17be5edaa6df9323 (diff)
downloadpkgsrc-bca6be937622e8f8b812b04130f133f2f7466b3b.tar.gz
textproc/ruby-bluecloth: use --format-executable RUBYGEM_OPTIONS
Use --format-executable RUBYGEM_OPTIONS instead of manually renaming with post-install. No functional change.
-rw-r--r--textproc/ruby-bluecloth/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/textproc/ruby-bluecloth/Makefile b/textproc/ruby-bluecloth/Makefile
index e5328de9db2..c97683d449f 100644
--- a/textproc/ruby-bluecloth/Makefile
+++ b/textproc/ruby-bluecloth/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2021/05/21 11:11:19 nia Exp $
+# $NetBSD: Makefile,v 1.12 2021/06/02 15:51:21 taca Exp $
DISTNAME= bluecloth-2.2.0
PKGREVISION= 1
@@ -11,9 +11,7 @@ LICENSE= original-bsd
USE_GCC_RUNTIME= yes
-post-install:
- ${MV} ${DESTDIR}${PREFIX}/bin/bluecloth \
- ${DESTDIR}${PREFIX}/bin/bluecloth${RUBY_SUFFIX}
+RUBYGEM_OPTIONS+= --format-executable
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"