Add a couple directories to the PLIST
These directories are needed to that installing a ruby gem ext port and then remove the ruby package doesn't leave directories around. This is only a partial fix, the ruby gem ext ports all need a similar fix. Problem pointed out by and feedback from pirofti@
This commit is contained in:
parent
a80abf1f00
commit
6bf61276f8
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.25 2016/09/01 14:23:58 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.26 2016/11/04 17:03:29 jeremy Exp $
|
||||
|
||||
COMMENT-main = object oriented script language with threads
|
||||
COMMENT-gdbm = gdbm interface for ruby
|
||||
@ -15,7 +15,7 @@ PKGNAME-gdbm = ruby21-gdbm-${VERSION}
|
||||
PKGNAME-tk = ruby21-tk-${VERSION}
|
||||
PKGNAME-ri_docs = ruby21-ri_docs-${VERSION}
|
||||
|
||||
REVISION-main = 2
|
||||
REVISION-main = 3
|
||||
PKG_ARCH-ri_docs = *
|
||||
WANTLIB-ri_docs = # empty
|
||||
|
||||
@ -88,7 +88,9 @@ TEST_DEPENDS = ${FULLPKGNAME-main}:${BUILD_PKGPATH}
|
||||
|
||||
pre-install:
|
||||
find ${WRKSRC} -name '*.orig' -print0 | xargs -0r rm
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ruby
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ruby \
|
||||
${PREFIX}/lib/ruby/gems/${RUBYLIBREV}/extensions/${SUB} \
|
||||
${PREFIX}/lib/ruby/gems/${RUBYLIBREV}/extensions/${SUB}/${RUBYLIBREV}
|
||||
|
||||
post-install:
|
||||
${FIX_RBCONFIG}
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.8 2016/06/29 16:14:43 espie Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.9 2016/11/04 17:03:29 jeremy Exp $
|
||||
@option no-default-conflict
|
||||
@option is-branch
|
||||
@conflict ruby->=2.1,<2.2
|
||||
@ -1036,6 +1036,8 @@ lib/ruby/gems/${RUBYLIBREV}/build_info/
|
||||
lib/ruby/gems/${RUBYLIBREV}/cache/
|
||||
lib/ruby/gems/${RUBYLIBREV}/doc/
|
||||
lib/ruby/gems/${RUBYLIBREV}/extensions/
|
||||
lib/ruby/gems/${RUBYLIBREV}/extensions/${SUB}/
|
||||
lib/ruby/gems/${RUBYLIBREV}/extensions/${SUB}/${RUBYLIBREV}/
|
||||
lib/ruby/gems/${RUBYLIBREV}/gems/
|
||||
lib/ruby/gems/${RUBYLIBREV}/gems/rake-10.1.0/
|
||||
lib/ruby/gems/${RUBYLIBREV}/gems/rake-10.1.0/bin/
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.17 2016/09/01 14:23:58 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.18 2016/11/04 17:03:29 jeremy Exp $
|
||||
|
||||
COMMENT-main = object oriented script language with threads
|
||||
COMMENT-gdbm = gdbm interface for ruby
|
||||
@ -15,7 +15,7 @@ PKGNAME-gdbm = ruby22-gdbm-${VERSION}
|
||||
PKGNAME-tk = ruby22-tk-${VERSION}
|
||||
PKGNAME-ri_docs = ruby22-ri_docs-${VERSION}
|
||||
|
||||
REVISION-main = 2
|
||||
REVISION-main = 3
|
||||
PKG_ARCH-ri_docs = *
|
||||
WANTLIB-ri_docs = # empty
|
||||
|
||||
@ -91,7 +91,9 @@ post-extract:
|
||||
|
||||
pre-install:
|
||||
find ${WRKSRC} -name '*.orig' -print0 | xargs -0r rm
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ruby
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ruby \
|
||||
${PREFIX}/lib/ruby/gems/${RUBYLIBREV}/extensions/${SUB} \
|
||||
${PREFIX}/lib/ruby/gems/${RUBYLIBREV}/extensions/${SUB}/${RUBYLIBREV}
|
||||
|
||||
post-install:
|
||||
${FIX_RBCONFIG}
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.3 2016/06/29 16:14:43 espie Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.4 2016/11/04 17:03:29 jeremy Exp $
|
||||
@option no-default-conflict
|
||||
@option is-branch
|
||||
@conflict ruby->=2.2,<2.3
|
||||
@ -1029,6 +1029,8 @@ lib/ruby/gems/${RUBYLIBREV}/cache/power_assert-0.2.2.gem
|
||||
lib/ruby/gems/${RUBYLIBREV}/cache/test-unit-3.0.8.gem
|
||||
lib/ruby/gems/${RUBYLIBREV}/doc/
|
||||
lib/ruby/gems/${RUBYLIBREV}/extensions/
|
||||
lib/ruby/gems/${RUBYLIBREV}/extensions/${SUB}/
|
||||
lib/ruby/gems/${RUBYLIBREV}/extensions/${SUB}/${RUBYLIBREV}/
|
||||
lib/ruby/gems/${RUBYLIBREV}/gems/
|
||||
lib/ruby/gems/${RUBYLIBREV}/gems/minitest-5.4.3/
|
||||
lib/ruby/gems/${RUBYLIBREV}/gems/minitest-5.4.3/.autotest
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2016/09/01 10:53:27 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2016/11/04 17:03:29 jeremy Exp $
|
||||
|
||||
BROKEN-hppa = OOM when building ext/ripper/ripper.c
|
||||
BROKEN-powerpc = OOM when building ext/ripper/ripper.c
|
||||
@ -18,7 +18,7 @@ PKGNAME-gdbm = ruby23-gdbm-${VERSION}
|
||||
PKGNAME-tk = ruby23-tk-${VERSION}
|
||||
PKGNAME-ri_docs = ruby23-ri_docs-${VERSION}
|
||||
|
||||
REVISION-main = 2
|
||||
REVISION-main = 3
|
||||
PKG_ARCH-ri_docs = *
|
||||
WANTLIB-ri_docs = # empty
|
||||
|
||||
@ -94,11 +94,13 @@ post-extract:
|
||||
|
||||
pre-install:
|
||||
find ${WRKSRC} -name '*.orig' -print0 | xargs -0r rm
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ruby
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ruby \
|
||||
${PREFIX}/lib/ruby/gems/${RUBYLIBREV}/extensions/${SUB} \
|
||||
${PREFIX}/lib/ruby/gems/${RUBYLIBREV}/extensions/${SUB}/${RUBYLIBREV}
|
||||
|
||||
post-install:
|
||||
${FIX_RBCONFIG}
|
||||
chmod 444 ${PREFIX}/lib/ruby/gems/*/{cache,specifications}/*.gem*
|
||||
chmod 444 ${PREFIX}/lib/ruby/gems/${RUBYLIBREV}/{cache,specifications}/*.gem*
|
||||
|
||||
# 16021 tests, 2256593 assertions, 3 failures, 5 errors, 127 skips
|
||||
do-test:
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.2 2016/06/29 16:14:43 espie Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.3 2016/11/04 17:03:29 jeremy Exp $
|
||||
@option no-default-conflict
|
||||
@option is-branch
|
||||
@conflict ruby->=2.3,<2.4
|
||||
@ -991,6 +991,8 @@ lib/ruby/gems/${RUBYLIBREV}/cache/rake-10.4.2.gem
|
||||
lib/ruby/gems/${RUBYLIBREV}/cache/test-unit-3.1.5.gem
|
||||
lib/ruby/gems/${RUBYLIBREV}/doc/
|
||||
lib/ruby/gems/${RUBYLIBREV}/extensions/
|
||||
lib/ruby/gems/${RUBYLIBREV}/extensions/${SUB}/
|
||||
lib/ruby/gems/${RUBYLIBREV}/extensions/${SUB}/${RUBYLIBREV}/
|
||||
lib/ruby/gems/${RUBYLIBREV}/gems/
|
||||
lib/ruby/gems/${RUBYLIBREV}/gems/did_you_mean-1.0.0/
|
||||
lib/ruby/gems/${RUBYLIBREV}/gems/did_you_mean-1.0.0/CHANGELOG.md
|
||||
|
Loading…
Reference in New Issue
Block a user