pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   jlam
Date:           Wed Feb 27 02:26:07 UTC 2008

Modified Files:
        pkgsrc/mk: curses.buildlink3.mk curses.builtin.mk

Log Message:
Allow preferring a pkgsrc "curses" implementation for all packages
that include curses.buildlink3.mk.  Generally, the rule is not to set
CURSES_DEFAULT unless it's to set it to "ncurses" or "pdcurses".

# Example mk.conf settings and their results.

# Use the system curses.
PREFER_NATIVE=  yes             # default value
CURSES_DEFAULT= curses          # default value

# Use system "ncurses" if it's available, otherwise use devel/ncurses
# from pkgsrc.
#
PREFER_NATIVE=  yes             # default value
CURSES_DEFAULT= ncurses

# Use devel/ncurses from pkgsrc.
PREFER_PKGSRC=  yes

# Use devel/pdcurses from pkgsrc.
PREFER_PKGSRC=  yes
CURSES_DEFAULT= pdcurses

# This causes a package build failure because there is no pkgsrc
# curses.
#
PREFER_PKGSRC=  yes
CURSES_DEFAULT= curses


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 pkgsrc/mk/curses.buildlink3.mk
cvs rdiff -r1.1 -r1.2 pkgsrc/mk/curses.builtin.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index