Commit graph

1326 commits

Author SHA1 Message Date
jlam
82ac6112bb Some Makefiles separate -R and the rpath directory with whitespace, so
handle that case.
2001-10-20 03:00:16 +00:00
dmcmahill
c6d0fbf0c5 - change the way we cause the build order to happen. The old way passed
GROUP_SPECIFIC_PKGS into a top pkgsrc level call to make.  The new way,
  uses a shell 'for pkgdir in ....' and then calls a make in each pkg
  directory.

  This does 2 things.  The first thing is that a 'build restart' starts
  up _much_ faster because instead of calling 'make' for each package we've
  already built and finding out they're already build, we just grep through
  the list of already built pkgs.  The second item (a side benefit) is that
  now a progress meter is simple.

- add a progress meter to the build.

- add even more error checking.
2001-10-20 00:30:22 +00:00
hubertf
46a42a2e26 Get rid of BUILD_ROOT and replace it with PKGSRCDIR (which was there
before!)
2001-10-17 23:23:15 +00:00
hubertf
678d2968b7 fix quotes 2001-10-16 20:50:54 +00:00
hubertf
ff639ea595 Change alignment of "Broken" column to right-justified - this makes
the (colored) numbers stand out better, visually.
2001-10-15 23:29:54 +00:00
hubertf
f0ecd0e301 Narrow doen the "Pkgs broken by" column by renaming it to "Breaks"
This gives this a bit of a chance to fit into 80 columns.
2001-10-15 23:18:51 +00:00
hubertf
78fc0d8a69 At the end of the build, remove the contents of the "perl" package
from the leftovers list - "perl-base" is long gone.
2001-10-15 23:00:10 +00:00
hubertf
485b9b34d5 Set ressource limits as high as possible before we'll start compiling 2001-10-15 17:19:23 +00:00
dmcmahill
d2b3a2b5e3 add some more failure checks for robustness.
- if something fails while extracting the DEPENDS for a particular package,
  mark that package as broken and drop the DEPENDS info for it.  This allows
  the build to continue and properly marks the package as broken.

- if something fails while extracting the PKGNAME, also mark the pkg as broken.

- be more careful about seeing if directories exist before cd'ing to them.
  Lack of such a test has caused problems elsewhere, so hopefully this will
  make the system more robust.
2001-10-14 20:34:53 +00:00
dmcmahill
8b1f1d76a0 after the build, pull in 'lang/perl5' instead of 'lang/perl5-base' as the
latter no longer exists.

Also, use '&&' to separate commands where you don't want the second to
execute if the first fails!
2001-10-13 14:32:01 +00:00
hubertf
cbf5bdf8e2 Change my non-standard copyright header to a BSD-style one. 2001-10-12 19:28:02 +00:00
tron
57f481af78 Pass "${USETOOLS}" down to package builds so that packages which use BSD
style makefiles can be build without a tools directory.
2001-10-12 15:40:56 +00:00
jlam
c46d036469 Allow people who set USE_BUILDLINK_X11 so as to experiment with the
buildlink-x11 package, to have that package installed.
2001-10-10 05:57:14 +00:00
jlam
7ab75bcd3e Make BUILDLINK_X11_{CPPFLAGS,LDFLAGS} private by prepending an underscore
to their names.  These values shouldn't be changed by Makefiles or
buildlink.mk files; rather, they're convenience variables used exclusively
within x11.buildlink.mk.
2001-10-09 18:18:52 +00:00
jlam
6dd456668a Make the variables BUILDLINK_CPPFLAGS and BUILDLINK_LDFLAGS private by
prepending an underscore to their names.  The values are not meant to be
set by Makefiles or buildlink.mk files.  However, the values are exported
through CONFIGURE_ENV and MAKE_ENV so that they may be used during the
respective processes.
2001-10-09 14:07:41 +00:00
jlam
ffdd7ac071 Back out last change that moved the prepending of BUILDLINK_CPPFLAGS and
BUILDLINK_LDFLAGS to CFLAGS, CPPFLAGS, CXXFLAGS, LDFLAGS from
bsd.buildlink.mk to bsd.pkg.mk.  They're unnecessary after the recent
changes to bonobo/buildlink.mk and to libglade/buildlink.mk that removed
their settings of BUILDLINK_CPPFLAGS.
2001-10-09 13:54:10 +00:00
agc
11863da187 Fix from Allen D. Ball <ball@iprotium.com> in PR 14183 - allow the
value of X11BASE to be set in /etc/mk.conf by using the usual
X11BASE?= /usr/X11R6 construct when setting the defaults in
bsd.pkg.defaults.mk
2001-10-09 10:01:11 +00:00
veego
cced4fab8d Update the x11-links BUILD_DEPENDS to 0.4. 2001-10-07 20:19:00 +00:00
tron
cb4432edd5 Prepend "${BUILDLINK_CPPFLAGS}" and "${BUILDLINK_LDFLAGS}" to "${CFLAGS}",
"${CPPFLAGS}", "${CXXFLAGS}" respectively "${LDFLAGS}" in "bsd.pkg.mk" and
not in "bsd.buildlink.mk" because "${BUILDLINK_CPPFLAGS}" and
"${BUILDLINK_LDFLAGS}" might get changed several times by the
"buildlink.mk" files of various packages.
2001-10-05 21:32:59 +00:00
wiz
785d210f50 Add ${PKGLOCALEDIR}/locale/bg*, e.g. for windowmaker 2001-10-05 12:11:23 +00:00
jlam
5ec5047fda Substitute for rpath references to buildlink directories in Makefiles
after the configure step.  There's a growing number of GNU configure
scripts that find a library in -L/path and automatically add -R/path to
the linker flags.  We need to make sure this doesn't happen to buildlink
directories.
2001-10-05 02:31:18 +00:00
jlam
d76266c66b Move the setting of replace_files within the cookie check so that if it's
expanded from some expensive operation, it isn't evaluated if it's not
needed.  Also fix the replace-buildlink target where we were potentially
evaluating ${REPLACE_BUILDLINK} twice when only once was enough.
2001-10-05 01:15:07 +00:00
jlam
8721aafafd Rename some replace_* variables to replace_files. I'm trying to factor
out some common code, and this is a start to make different code pieces
look more alike.
2001-10-05 00:21:58 +00:00
jlam
2f02cecb2c Factor out the pattern representing Makefiles into its own variable
MAKEFILE_PATTERNS.  Also replace -R${BUILDLINK_DIR}/lib with
-R${LOCALBASE}/lib on all the REPLACE_BUILDLINK files to prevent rpath
references to ${BUILDLINK_DIR} from getting into things like config
scripts.
2001-10-05 00:09:23 +00:00
jlam
bc6321a5e2 Replace -R${BUILDLINK_DIR}/lib with -R${LOCALBASE}/lib on all the
REPLACE_BUILDLINK files to prevent rpath references to ${BUILDLINK_DIR}
from getting into things like config scripts.
2001-10-05 00:08:17 +00:00
agc
ed7610d006 Use the usual _PKG_SILENT and _PKG_DEBUG definitions in the
show-installed-depends target.
2001-10-04 22:01:54 +00:00
agc
12106c0620 use ${PKG_INFO} rather than pkg_info in show-installed-depends target,
so that the correct setting of PKG_DBDIR is used, and the correct
pkg_info binary too, presumably.

Make show-installed-depends work on Solaris (untested) by only defining
the target if DEPENDS is defined.
2001-10-04 21:48:12 +00:00
jlam
b66ae413cf Try not to have BUILDLINK_X11_*FLAGS be added multiple times to CFLAGS,
CPPFLAGS, CXXFLAGS, or LDFLAGS.
2001-10-04 08:00:13 +00:00
jlam
2b9404e054 If USE_IMAKE is set, then ensure that the buildlink-x11 package isn't
installed, as it currently breaks builds that use imake.  I made an
announcement on current-users and tech-pkg on this, but having the make
logic place to verify that buildlink-x11 is actually gone is better.
2001-10-04 07:56:06 +00:00
jlam
ded9263431 Document the following variables:
REPLACE_BUILDLINK
	REPLACE_BUILDLINK_PATTERNS
	REPLACE_BUILDLINK_SED
	REPLACE_LIBNAMES
	REPLACE_LIBNAMES_PATTERNS
	REPLACE_LIBNAMES_SED
	BUILDLINK_CONFIG_WRAPPER_SED

Also prepend an underscore to REPLACE_LIBNAME_SCRIPT as it's not a variable
we're exporting.
2001-10-04 03:29:08 +00:00
jlam
68947ab066 Fix typo in previous commit. 2001-10-04 01:02:16 +00:00
jlam
d6a2295451 Make explicit what the mammoth sed expression in the _BUILDLINK_USE target
is supposed to do: filter out libtool archives from the list of files
to link into ${BUILDLINK_DIR}.
2001-10-03 23:27:07 +00:00
jlam
98cd81fd46 Invent new variables:
REPLACE_LIBNAMES_PATTERNS
	REPLACE_BUILDLINK_PATTERNS

They are space-separated lists of shell glob patterns representing files
in which we substitute with REPLACE_LIBNAMES_SED (for replacing buildlink
library names with the true library names) and REPLACE_BUILDLINK_SED (for
replacing references to buildlink directories with the true install
locations).  This generalizes the variables (which may still be used):

	REPLACE_LIBNAMES, REPLACE_BUILDLINK,

that contained the actual filenames.

REPLACE_BUILDLINK_PATTERNS contains *.lai, *-config, *Conf.sh, and *.pc.
2001-10-03 22:25:16 +00:00
wiz
aa0b8101e1 Add zh_TW dir (e.g. for lftp). 2001-10-03 14:37:55 +00:00
tron
9f0eb84c74 Add "prdownloads.sourceforge.net" as primary site to the of list
sourceforge download servers. It is the fastest one from "ftp.netsd.org"
and my home system.
2001-10-03 07:57:04 +00:00
jlam
89002b450b Factor out the common code for the replace-libnames targets into a variable
and use it instead.  Also subsititute for library names in the installed
libtool archives.  This last bit is to fix instances where "-lncurses" has
been hard-coded into *.lai files, but we are actually using -lcurses in
reality (devel/tvision is one example).  Problem noted by Thomas Klausner
(hi wiz!).
2001-10-02 23:08:17 +00:00
jlam
6c797a0afa Allow customizing the message for _SU_TARGET by substituting for "$action",
where action can be "install", "package", "create user for", etc., instead
of blindly always saying "install".  Define "action" before calling
${_SU_TARGET} whereever it is used.
2001-10-01 21:15:11 +00:00
jlam
3ad1fec0e7 Have x11.buildlink.mk add -Wl,-R${X11BASE}/lib to LDFLAGS directly, instead
of relying on bsd.pkg.mk to do it.  This change just makes x11.buildlink.mk
more self-sufficient.  Also add a warning that x11.buildlink.mk shouldn't
be included in any buildlink.mk files since what it appends to *_POST_SED
variables must come last.
2001-10-01 17:14:40 +00:00
tv
bb231171aa Don't set SU_CMD twice (the setting here was wrong anyway). The default
may need to be platform-dependent, so let bsd.pkg.mk (not .defaults.mk
set the default.
2001-10-01 04:16:43 +00:00
abs
e31ba171a2 Add 'show-installed-depends' - neat implementation thanks to Hubert. 2001-09-30 22:10:33 +00:00
tron
415261b300 Add optional IPv6 and OpenSSL support to the "xchat" package. Both are
turned on by default but can be turned of with "USE_INET6=NO" and
"XCHAT_USE_SSL=NO".
2001-09-26 18:48:53 +00:00
jlam
962986af46 Require at least x11-links-0.3 to get latest round of fixes. 2001-09-25 23:49:57 +00:00
mycroft
1fa6a808a7 I have no idea where it got broken, but put back the creation of .package_done
files.
2001-09-25 20:26:37 +00:00
tron
d9e3ce1e50 Fix cut and paste error in last commit. 2001-09-24 11:02:49 +00:00
tron
85ee00aa9d Add "PKGVERSION" to "PLIST_SUBST" by default. Trailing package source
version numbers (e.g. "nb1") are automatically removed.
2001-09-24 09:48:31 +00:00
jlam
855a3df049 Add back descriptions of MOTIF12_TYPE and MOTIF12BASE and fix
the descriptions of MOTIF_TYPE and MOTIFBASE lost during the
mk.conf.example --> bsd.pkg.defaults.mk conversion.  Also,
document MOTIF_TYPE_DEFAULT and MOTIF12_TYPE_DEFAULT which are
used as the final default values for MOTIF_TYPE and MOTIF12_TYPE.

Note: none of these values need to be explicitly set, as
motif.buildlink.mk will choose sensible values for all of these
variables.
2001-09-21 19:50:28 +00:00
jlam
d3bbf92d5e Do an immediate setting of MOTIF_TYPE and MOTIF12_TYPE so that the
definition isn't recursive if values have already been assigned.
2001-09-21 19:26:45 +00:00
tron
85eb51b084 Include "bsd.own.mk" before "bsd.pkg.defaults.mk" because otherwise "?="
assignments in "/etc/mk.conf" won't work anymore.
2001-09-21 15:28:35 +00:00
agc
9fb911e9f9 Now that bsd.pkg.defaults.mk is in the tree, mk.conf.example can go away. 2001-09-19 20:29:39 +00:00
drochner
b5040f0f2b setting MOTIFBASE explicitely breaks motif type auto detection,
so comment it out
2001-09-19 17:18:41 +00:00