Bug 155269 - [PATCH] fix problems with base ncurses vs ports ncurses
[PATCH] fix problems with base ncurses vs ports ncurses
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Baptiste Daroussin
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-04 15:00 UTC by Baptiste Daroussin
Modified: 2011-04-11 09:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Baptiste Daroussin freebsd_committer 2011-03-04 15:00:23 UTC
Here is a patch loosely based on bsd.openssl.mk to prevent ports to auto depends on devel/ncurses

ports that have to depends on ncurses would just have to add
USE_NCURSES= yes

http://people.freebsd.org/~bapt/bsd.ncurses.mk.diff

regards,
Bapt
Comment 1 Baptiste Daroussin freebsd_committer 2011-03-04 18:03:30 UTC
Responsible Changed
From-To: freebsd-bugs->portmgr

portmgr territory.
Comment 2 pav freebsd_committer 2011-04-11 09:00:45 UTC
Responsible Changed
From-To: portmgr->bapt

Approved to commit the revised patch
Comment 3 dfilter freebsd_committer 2011-04-11 09:34:26 UTC
bapt        2011-04-11 08:34:17 UTC

  FreeBSD ports repository

  Modified files:
    Mk                   bsd.port.mk 
    audio/cmus           Makefile 
    audio/ncmpcpp        Makefile 
    audio/ocp            Makefile 
    audio/pytone         Makefile 
    deskutils/wyrd       Makefile 
    devel/cdk            Makefile 
    devel/stfl           Makefile 
    games/latrine        Makefile 
    games/mangband       Makefile 
    mail/cone            Makefile 
    mail/mixmaster       Makefile 
    mail/mutt            Makefile 
    mail/mutt-devel      Makefile 
    net-im/mcabber       Makefile 
    net-im/tmsnc         Makefile 
    security/metasploit  Makefile 
    shells/zsh           Makefile 
    sysutils/htop        Makefile 
    www/newsbeuter       Makefile 
  Added files:
    Mk                   bsd.ncurses.mk 
  Log:
  Add a new macro to deal with conflict between ncurses from base and ncurses from ports.
  If a ports is linked against ncurses from base or from the ports, it should then add:
  USE_NCURSES=yes
  
  it is also possible to specify the hard dependency on the ports ncurses or one the base one adding the following macros:
  WITH_NCURSES_PORT=yes or WITH_NCURSES_BASE=yes
  
  PR:             ports/155269
  Submitted by:   me
  Reviwed by:     pav@
  Approved by:    portmgr (pav@)
  Exp-run by:     portmgr (pav@)
  
  Revision  Changes    Path
  1.1       +98 -0     ports/Mk/bsd.ncurses.mk (new)
  1.678     +7 -1      ports/Mk/bsd.port.mk
  1.38      +1 -4      ports/audio/cmus/Makefile
  1.34      +2 -3      ports/audio/ncmpcpp/Makefile
  1.48      +2 -15     ports/audio/ocp/Makefile
  1.9       +1 -4      ports/audio/pytone/Makefile
  1.8       +1 -11     ports/deskutils/wyrd/Makefile
  1.44      +1 -12     ports/devel/cdk/Makefile
  1.13      +2 -6      ports/devel/stfl/Makefile
  1.9       +1 -9      ports/games/latrine/Makefile
  1.24      +1 -1      ports/games/mangband/Makefile
  1.38      +4 -17     ports/mail/cone/Makefile
  1.8       +1 -4      ports/mail/mixmaster/Makefile
  1.320     +8 -4      ports/mail/mutt-devel/Makefile
  1.192     +5 -3      ports/mail/mutt/Makefile
  1.43      +1 -4      ports/net-im/mcabber/Makefile
  1.9       +2 -9      ports/net-im/tmsnc/Makefile
  1.22      +3 -2      ports/security/metasploit/Makefile
  1.125     +1 -0      ports/shells/zsh/Makefile
  1.19      +1 -4      ports/sysutils/htop/Makefile
  1.37      +1 -5      ports/www/newsbeuter/Makefile
_______________________________________________
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 4 Baptiste Daroussin freebsd_committer 2011-04-11 09:39:52 UTC
State Changed
From-To: open->closed

Committed. Thanks!