pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ruby-bluecloth textproc/ruby-bluecloth: use -...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4e537408f51
branches:  trunk
changeset: 453744:e4e537408f51
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Jun 02 15:51:21 2021 +0000

description:
textproc/ruby-bluecloth: use --format-executable RUBYGEM_OPTIONS

Use --format-executable RUBYGEM_OPTIONS instead of manually renaming
with post-install.

No functional change.

diffstat:

 textproc/ruby-bluecloth/Makefile |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r d60e4d8a050c -r e4e537408f51 textproc/ruby-bluecloth/Makefile
--- a/textproc/ruby-bluecloth/Makefile  Wed Jun 02 15:50:34 2021 +0000
+++ b/textproc/ruby-bluecloth/Makefile  Wed Jun 02 15:51:21 2021 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index