Commit Graph

757 Commits

Author SHA1 Message Date
espie
01ac39ce91 newlib-depends-check that takes the semantics-to-be into account. 2004-11-21 11:26:22 +00:00
espie
5982ed59bb new support routine _print-package-args, that prints new-style package
dependencies.
_syslib_resolve_fragment that can resolve system libs.
2004-11-21 10:43:48 +00:00
sturm
ec0870206a use TRUEPREFIX locally
sort SYSTRACE_SUBST_VARS while here
2004-11-19 22:12:28 +00:00
espie
723c37630f can't depend on WRKDIR unconditionally, throws update off when
UPDATE_COOKIES_DIR is set.
2004-11-17 11:09:44 +00:00
espie
3979adeb86 add missing stuff around update so that BULK works for it too. 2004-11-17 10:38:37 +00:00
espie
65134e9f73 only pass FULLPKGPATH, PERMIT_PACKAGE_CDROM, PERMIT_PACKAGE_FTP to
pkg_create, and quote the later properly...
2004-11-16 02:08:59 +00:00
espie
1b8f6e0f0c Pass PERMIT_PACKAGE_CDROM, PERMIT_PACKAGE_FTP, FULLPKGPATH as parameters
to pkg_create... This should allow the automatic generation of ExtraInfo
without needing to do it manually.
2004-11-15 16:31:28 +00:00
espie
e39dc1ae33 mark update as .PHONY target, necessary with UPDATE_COOKIES_DIR ;-) 2004-11-15 13:53:43 +00:00
espie
147d3cf94a industrial-strength updates:
- separate UPDATE_COOKIES_DIR, unless set to empty.
Makes for easier management.
- FORCE_UPDATE variable, that makes certain packages are updated when
a dependency is run, and that forces the replacement of packages that are
already there.  Still uses the update cookie, so that this update occurs
just once unless you wipe out yur UPDATE_COOKIES_DIR (which justifies putting
update cookies in a separate directory).
2004-11-15 13:52:03 +00:00
espie
54a74ef157 use pkg_info -q -e instead of pkg dependencies check now that it does
what it should.

Use the exact same rules for checking LIB_DEPENDS that will later be used
to build the package itself, e.g., add the pkg dependency check.
2004-11-15 11:49:05 +00:00
espie
d9536a7ac4 rename _UPDATE_COOKIE to always be defined (wilfried) and to have a name
changing when the FULLPKGNAME changes.
2004-11-10 23:40:42 +00:00
espie
f2ae2fd4b7 allows it to recurse. 2004-11-10 10:23:42 +00:00
espie
eb3edb001b Add a simple update target, that relies on pkg_info -e pkgpath to know
if there is something to update...
2004-11-10 10:16:41 +00:00
pvalchev
68c791bb78 add mips64 to LP64_ARCHS 2004-10-26 06:16:53 +00:00
espie
8c4d857d3d allow us to specialize DEPENDS_TARGET depending on whether this is
a LIB/RUN/BUILD/REGRESS_DEPENDS.
2004-10-23 10:02:51 +00:00
espie
97804eddfe switch FAKE's test from == "yes" to != "no" 2004-10-23 09:58:13 +00:00
robert
cba5c3b7b6 Missing support for a module should be a fatal error. So don't continue
the build if you miss a module.

ok espie@
2004-10-18 15:17:17 +00:00
espie
1bbdaa1cbd UNMESSAGE 2004-10-11 10:32:04 +00:00
sturm
8511b00703 add TRUEPREFIX to SYSTRACE_SUBST_VARS 2004-10-08 19:58:30 +00:00
espie
3b550a0182 config.site support 2004-10-03 09:51:21 +00:00
sturm
82dfd19593 add 'patch' to handled targets 2004-09-26 09:59:14 +00:00
pvalchev
be6617f5f7 change CDROM_SITE to default to empty; ok espie 2004-09-19 09:00:15 +00:00
espie
784afb2649 kill old check-libs script, after checking the new one handles a.out
just fine.

Kill old subst that's not used anymore as well.
2004-09-18 13:48:43 +00:00
espie
0046b33eec Strip spaces from CFLAGS everywhere.
Pass off -a to pkg_add if used to solve dependencies.
2004-09-18 13:45:23 +00:00
espie
b14b123e17 WRKCONF?=${WRKBUILD} 2004-09-15 18:58:49 +00:00
espie
613aa9a6c4 remove all SED_PLIST work, since pkg_create handles it now.
defines appropriate PKG_ARG arguments instead.
Move message to -M ${MESSAGE}.
2004-09-15 18:57:31 +00:00
espie
d67be4b0b9 remove trailing spaces from CFLAGS/CXXFLAGS, to please autoconf... 2004-09-14 23:07:20 +00:00
espie
907ba20320 explicitly forbid flavors starting with [0-9]. 2004-09-14 23:06:02 +00:00
brad
2545045f21 Side-effect of BULK=Yes: WRKDIR gets wiped out before the depend cookie
is written.

So, we simply recreate WRKDIR manually.
This is a kluge, but it should do the trick.

From espie@

ok pvalchev@ espie@
2004-08-13 23:28:40 +00:00
espie
9560823362 set _MASTER_LOCK in the correct location.
fix postgresql locking *for good*.
okay pvalchev@
2004-08-12 19:02:45 +00:00
espie
a8174b7541 obvious mistake, FULLPKGPATH for recursive clean, duh!
problem found by brad@
2004-08-11 22:42:47 +00:00
espie
fdb200935c fix postgresql lock issue: in recursive locking, don't relock the same
port.

okay pvalchev@
2004-08-11 22:25:23 +00:00
xsa
a3237a6832 prepare for new-style MODULES. ok sturm@. 2004-08-10 20:39:37 +00:00
espie
9ab9eeaa46 prefer pkg_create -B 2004-08-10 13:48:21 +00:00
xsa
9d761fa2f0 prepare for new-style MODULES; ok dons@. 2004-08-10 08:14:34 +00:00
xsa
70c60882e0 prepare for new-style MODULES; ok couderc@. 2004-08-09 19:54:20 +00:00
espie
ed01c25be0 lock distfile as distfile.dist, since some ports have FULLPKGPATH=DISTFILE. 2004-08-08 23:14:03 +00:00
espie
10083d7dfb run update-plist as root, to catch all files.
pass OWNER/GROUP around and setuid/gid to them before writing
files to keep ownership.
2004-08-08 16:43:15 +00:00
espie
413404d080 tag updating-plist case for logging. 2004-08-06 11:31:22 +00:00
espie
0e976d1198 almost completely new make-plist.
The new version uses the pkg_* infrastructure to read existing plists
and produced new plists.
Lots and lots of improvements:
- copy most stuff over from original lists correctly. For instance,
attach @exec/@unexec/@sample to other files and copy them in the right
location.
- generic post-treatment of @commnent, using stringize(), so that most
things can be commented out and will stay commented out.
- parse all packing-lists using relevant PREFIXes. Grab PFRAG.xx if %xx%
is seen.
- walk through all of fake, and distpatch files according to PREFIXes
if nothing else works.
- identifies man, libraries, info, handling symlink correctly.
2004-08-05 23:43:45 +00:00
espie
879b5113b9 tag error messages with PKGPATH, as they get hard to decipher
when walking the tree.
2004-08-03 21:18:24 +00:00
espie
dbdb2eb38e Move SHARED_ONLY default definition down so that it can be inherited
from Makefile.inc/MODULES.
2004-08-03 19:30:25 +00:00
espie
30369d755e pass TRUEPREFIX around, don't pass LDCONFIG. 2004-08-03 16:18:51 +00:00
espie
5318b3b20e MODULES=www/php4/pear
okay maintainer(s)
2004-08-03 12:54:39 +00:00
xsa
7937d3ebe8 prepare for MODULES= www/zope 2004-08-03 12:08:10 +00:00
espie
0245da577b pass SHARED_ONLY to update-plist 2004-08-03 11:16:30 +00:00
espie
4c68b1d0da Prepare for MODULES=x11/qt* 2004-08-03 09:18:38 +00:00
espie
faa7c7b381 prepare iconv for MODULES=converters/libiconv 2004-08-03 09:13:29 +00:00
espie
814118f71b prepare gettext for MODULES=devel/gettext. 2004-08-03 09:10:01 +00:00
espie
fd75f4db4c Introduce SHARED_ONLY variable, as a more specific semantic way
to say port works only with shared libraries.

Mostly useful for `update-plist' which will recurse differently if
LIB_DEPENDS are only BUILD_DEPENDS or if they becomes RUN_DEPENDS.
okay pvalchev@
2004-08-03 08:04:02 +00:00