Commit Graph

1535 Commits

Author SHA1 Message Date
steven
6dcd897f59 add various new functions and a few headers.
tested in a full build.

"go ahead" espie@
2006-10-28 18:59:10 +00:00
pvalchev
ea93d319d1 4.0 2006-10-26 00:41:45 +00:00
pvalchev
db68c59fd2 update list of architectures 2006-10-26 00:40:46 +00:00
david
c309e4359f fix comment: this is for sparc64, not sparc 2006-10-24 16:42:10 +00:00
espie
d7d4e5e79a generic BULK_DO fragment that can do anything, invoked right before clean.
can be used to run targets that may fail without impacting further stuff,
or to collect stats on anything.
For instance

BULK_DO= mkdir -p ${PORTSDIR}/config/${FULLPKGPATH}; \
	cp -f ${WRKBUILD}/config.{log,status} ${PORTSDIR}/config/${FULLPKGPATH} || true; \
	cd ${PACKAGE_REPOSITORY}/${MACHINE_ARCH}/all && perl ${PORTSDIR}/infrastructure/package/check-modes ${PKGNAMES} || true
2006-10-23 14:33:01 +00:00
espie
936808b05a fix a bunch of issues:
- make sure locks happen when they should, including for lib-depends-check.
- make sure various targets set PACKAGING as they should.
- let BULK=Yes be invoked only from make package.

Fix for the BULK_COOKIE and UPDATE_COOKIE issue. They can no longer depend
on PACKAGE_COOKIES, since this needs to get built with PACKAGING set. So
instead, simply remove the cookies when we create a new package succesfully.

By any kind of reasoning, both bulk and update are `reset' when a new
package appears, so this seems to be the right semantics in most cases.

Thanks for wilfried and nikolay for error spotting. Hoping this will be
what's needed, finally.
2006-10-23 13:42:50 +00:00
espie
3291960295 oops, fix. 2006-10-23 11:19:35 +00:00
espie
872bae539e -f: display a full listing of which binary uses what library. Useful for
figuring out dependencies in a fine way for creating multi packages.
2006-10-23 10:54:45 +00:00
aanriot
906afbb679 - remove 'noauto' and install _spamdaemon user by default.
- bump PKGNAME.
2006-10-21 19:26:14 +00:00
robert
b6dd2e7ca7 Add MODGCC4 support and use gcc 4.2;
ok espie@
2006-10-21 14:26:07 +00:00
espie
72e2164084 hint at libtool stuff for SHARED_LIBS, so that people start with a nice
basis.
2006-10-21 12:59:35 +00:00
espie
533fa4cdbe work-around for infinite recursion... gonna fix bulk stuff for real soon.
thanks nikolay
2006-10-21 12:46:09 +00:00
espie
1b169a7d4b can not depend directly on PACKAGE_COOKIES.
Found out by nikolay, fun to debug...
2006-10-21 12:10:35 +00:00
espie
508d8e05df move SHARED_LIBS_LOG into WRKBUILD 2006-10-21 11:50:48 +00:00
espie
eabc29b2cc define SHARED_LIBS_LOG for libtool (and other stuff) use 2006-10-21 11:20:36 +00:00
bernd
5e5fdfe2a4 Add libs which are reachable through dependencies to the cut&paste WANTLIB
output as well.

spotted by alek@, ok espie@
2006-10-20 18:10:25 +00:00
espie
7aa333e1ca output a simple set of WANTLIB lines you can cut&paste, by popular demand... 2006-10-20 15:09:24 +00:00
espie
992a0a28a0 sort information instead of putting it out in an haphazard way. 2006-10-20 14:40:29 +00:00
jasper
59bcd5d77c sync a bit with reality..
ok espie
2006-10-20 09:45:21 +00:00
bernd
1db3e02224 Teach register-plist how to deal with the case where the recorded
plist in PLIST_DB misses the last line.

found & debugged by sturm@
ok sturm@, espie@
2006-10-19 00:15:46 +00:00
sturm
458d2c4d2a don't throw an error in fetch, when no distinfo file exists
but error out in _internal-checksum, when there should be one

ok espie
2006-10-18 16:53:04 +00:00
espie
d1257184f9 special case: if PKGPATH is the LIB_DEPENDS base, then it means we're
building a subpackage, and then we definitely want the `current' stuff,
not the stuff that's already installed.

Allows shared libs updates in MULTI_PACKAGES to proceed gracefully without
having to uninstall stuff.

(we do not do this stuff in general, because in other cases, builds are
`staggered', e.g., a port is built against the existing base, not the stuff
in other WRKDIRS)
2006-10-18 11:09:30 +00:00
espie
713799f4a1 put no-arch into a variable, so that people can override it. 2006-10-18 10:51:39 +00:00
steven
2e1df7fb99 remove ftp.is.co.za, not up to date for months
from Jim Razmus <jim at bonetruck.org>
2006-10-18 10:42:54 +00:00
espie
4e4da07c8f let peek-ftp cd ${FULLDISTDIR} first.
Add a message to that effect so that users don't get confused.
(specifically, make itself does not change dirs, so if you do ^Z,
you're not where you think you are...)
2006-10-17 22:32:45 +00:00
steven
deb58fb886 typo 2006-10-16 14:08:00 +00:00
espie
2c05ea7a55 protect against further bugs, refuse to build the _PACKAGE_COOKIE if we
end up there with PACKAGING not set.
We do not try to `fix it' ourselves, because PACKAGING not set may have
some non obvious issues, like PKG_ARCH or PERMIT_PACKAGE_* not set correctly
at all.
2006-10-16 10:39:40 +00:00
espie
2c2e81c154 say goodbye for FAKE=no, for real. 2006-10-15 19:29:06 +00:00
espie
a80884552e Allows calling print-plist from main Makefile 2006-10-15 09:48:05 +00:00
espie
55c0fd4b29 moved to ports/databases/sqlports 2006-10-15 09:42:17 +00:00
espie
b913b285a7 -Q implies -q, anyways. 2006-10-15 09:22:49 +00:00
espie
748da30a4f also mention -n along -q on `print-plist' commands.
I've started documenting it, and having -q do things on its own
is quirky...
2006-10-15 09:20:53 +00:00
espie
dff6979a7a oops, forgot to commit FULLPKGNAME.
From Serge Basterot
2006-10-14 09:03:23 +00:00
espie
1eec9cb87b quick-fix for make install, as reported by stevens@ and naddy@.
Need more thinking about...
2006-10-12 08:45:56 +00:00
espie
ee211dd2c2 cheat a bit: make sure the right variables are used for MULTI_PACKAGES. 2006-10-09 18:11:38 +00:00
espie
07c292fb8d minor cosmetic changes: do not strip packages twice.
check for empty .info files.
2006-10-07 10:04:09 +00:00
jasper
ba41f43450 add SHARED_ONLY, MODULES and SHARED_LIBS
latter one reminded by nikns at secure dot lv

ok espie
2006-10-05 14:55:56 +00:00
espie
ccb088f096 let register-plist show stuff in a format ready for copy-paste.
Suggestion from alek@, took it one step further...
2006-10-02 18:48:01 +00:00
espie
984b811337 oops, do not unset SUBPACKAGE
Move BULK_COOKIE for package to the redirector, so that we do not
clean in subpackage cases, but instead wait for all the packages to be built.

Also, introduce FORCE_UPDATE=hard: with signatures, -F installed is
most often not necessary...
2006-10-02 17:26:34 +00:00
espie
a4caf29eed fix FETCH_PACKAGES: create a real target (packages/arch/cache/pkgname.tgz)
and link to it from elsewhere.

Fixes the no-arch case, and makes it ways easier to find out what was
retrieved through the cache.
2006-10-02 09:37:14 +00:00
steven
86a869bc04 permit semaphore related syscalls; this allows building dk-milter and
dkim-milter with systrace.

ok sturm@
2006-09-30 22:31:20 +00:00
espie
4906160e3c more fixes for new issues: let the update cookie depend on the `full'
package cookie, so that an update will get all subpackages built.

And a fix for an old issue: let make update proceed to update ALL subpackages,
as seems the most natural. Create a subupdate target if one specifically
wants to update a single package (and use it as dependency in the FORCE_UPDATE
case).
2006-09-27 10:09:34 +00:00
espie
2091ad987e Fix install, as noticed by fgs: just do a partial depend on the package
cookies, and also insist on running make package, which is necessary to
make sure all MULTI_PACKAGES get built.

Repair make clean=packages: make sure all packages get named using the same
scheme as other multi-packages targets (that way, arch-indep subpackages
get cleaned properly)
2006-09-23 09:40:06 +00:00
bernd
4334413aa5 Don't error out if 'unset PACKAGING' returns false. Unbreaks 'make install'.
Noticed by many.
2006-09-21 11:31:33 +00:00
espie
7b016d7ff5 readmes is yet another target that should recurse. 2006-09-19 20:10:40 +00:00
espie
459cc17047 unset PACKAGING before iterating from PACKAGE_COOKIE.
This forces BIN_PACKAGES=Yes always, probably a good thing.
2006-09-19 19:54:14 +00:00
espie
ce2d5a3369 fix update: now that we no longer recurse at the cookie level, we have
to recurse higher.
2006-09-19 11:25:17 +00:00
espie
6372292fc7 split things exactly like make does, avoid a few spurious error messages
from sqlite.
2006-09-19 09:57:58 +00:00
espie
cf58da0397 typo, found by Mikolaj Kucharski <eth0@o2.pl> 2006-09-18 18:17:30 +00:00
espie
aaa9a0cd63 remove hack to recognize .0.0. 2006-09-18 12:56:22 +00:00