Bug 102648 - [PATCH]: lang/ruby18 - small fix to allow PREFIX-clean libs
Summary: [PATCH]: lang/ruby18 - small fix to allow PREFIX-clean libs
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Stanislav Sedov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-29 18:50 UTC by Stanislav Sedov
Modified: 2006-10-01 20:45 UTC (History)
0 users

See Also:


Attachments
rr.diff (1.30 KB, patch)
2006-08-29 18:50 UTC, Stanislav Sedov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Sedov 2006-08-29 18:50:19 UTC
 - Small fix to allow painless PREFIX-clean libraries ports creation.
In case of different PREFIX we should dirrmtry site_ruby, otherwise it
will be left there forever. But we can't really do dirrmtry, sice if ruby PREFIX
== library PREFIX, these directories created by ruby installations will be
removed as they are empty. This patch adds fake file into SITEARCHLIBDIR, so
we could simply dirrmtry %%RUBY_SITEARCHLIBDIR%% and it will be removed when
installed into different prefix and kept if the prefix is same. Similar
hacks are already exists for DOCDIR and EXAMPLESDIR.

This PR depends on ports/102646
Comment 1 Emanuel Haupt freebsd_committer freebsd_triage 2006-08-30 18:19:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ehaupt

I will take care of it.
Comment 2 Emanuel Haupt freebsd_committer freebsd_triage 2006-08-30 19:53:53 UTC
Responsible Changed
From-To: ehaupt->sem

sem is already working on this.
Comment 3 Sergey Matveychuk freebsd_committer freebsd_triage 2006-09-30 17:01:14 UTC
Responsible Changed
From-To: sem->stas

Over to submitter who is a committer now
Comment 4 dfilter service freebsd_committer freebsd_triage 2006-10-01 20:11:11 UTC
stas        2006-10-01 19:10:48 UTC

  FreeBSD ports repository

  Modified files:
    lang/ruby18          Makefile pkg-plist 
    lang/ruby18/files    patch-mkmf.rb 
  Added files:
    lang/ruby18/files    obsoleted 
  Log:
  - Prepare port to make ruby libraries PREFIX-clean (also requires bsd.ruby.mk
    modifications)
  - Add OPTIONS
  - Provide automatic pkg-plist generator to simplify updates
  - Guarantee permissions safety when installing docs and examples (eliminate
    ${CP} -r *)
  - Create handy docs and examples structure (install examples for external
    libraries in separate directories)
  - Remove unused KNOB (NORUBYLIB)
  - Add knob to disable RDOC generation [1]
  - Add knob to disable IPv6 support
  - Move list of obsoleted packages to the separate file (files/obsoleted)
  - Add additional .keep_me like files to allow shared directories to not
    be deleted by dependent ports
  - Minor cleanups and modifications
  - Bump-up portrevision
  
  All ruby ports were tested in tinderbox with these modifications.
  
  Requested by:   VANHULLEBUS Yvan <vanhu_bsd@zeninc.net> [1]
  PR:             ports/103353 [1], ports/102648, ports/102663, ports/102685, ports/102646
  Approved by:    sem (mentor)
  
  Revision  Changes        Path
  1.115     +203 -130      ports/lang/ruby18/Makefile
  1.1       +26 -0         ports/lang/ruby18/files/obsoleted (new)
  1.6       +17 -3         ports/lang/ruby18/files/patch-mkmf.rb
  1.56      +10886 -10888  ports/lang/ruby18/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Stanislav Sedov freebsd_committer freebsd_triage 2006-10-01 20:45:03 UTC
State Changed
From-To: open->closed

Committed. Thanks!