espie
0af1c9e7da
fix fix
2010-07-10 15:21:15 +00:00
espie
11d3fea7e4
some recursive scenarios would break, let _ARCH_OK be undefined, catch it
...
later.
2010-07-10 15:17:40 +00:00
espie
25c3ed92c3
always define _ARCH_OK${SUBPACKAGE} (to 0 by default), so
...
that bsd.port.mk can rightfully complain about wrong subpackages.
2010-07-10 13:29:48 +00:00
espie
188c8ed5f5
new support for REVISION/EPOCH
2010-07-10 09:11:10 +00:00
espie
d170ea5206
logic of ONLY_FOR_ARCHS was slightly broken: always define individual
...
PACKAGE_COOKIE, so that print-plist-contents keeps working.
Only the packaging part (e.g., PACKAGE_COOKIES) should be affected.
Alter PKGNAMES while we're there, as it's only used for debugging, and
it's better that way.
(fixes pkgmklocatedb)
2010-07-09 13:11:59 +00:00
espie
d9dd312bbf
synch with src
2010-07-08 20:48:39 +00:00
pea
211435835b
Add uid/gid 653 for _pgbouncer (databases/pgbouncer)
2010-07-08 16:11:55 +00:00
espie
cb5a10072f
off-by-1 in splice.
...
more intuitive: copy the list except for dropped elements
2010-07-06 14:50:53 +00:00
espie
d24243d7ec
debug complains
2010-07-06 14:29:15 +00:00
espie
62995c89d4
make ONLY_FOR_ARCHS and NOT_FOR_ARCHS subpackage-dependent
2010-07-06 12:38:26 +00:00
espie
da03d678c9
print-plist-contents | grablibs appears often enough: combine them as
...
print-plist-libs
2010-07-06 12:09:55 +00:00
espie
45a2880841
allow libspecs to come from current ports internal dependencies (even if
...
they're not installed yet)
2010-07-06 12:02:35 +00:00
espie
e946b4c62d
explicitly document that the .spec files are just there to force reevaluation
...
of cookie during development
2010-07-06 11:50:57 +00:00
espie
8ea8f2a482
don't bother computing pkgname if all we want is the plist from the pkgpath
2010-07-06 11:27:38 +00:00
espie
3a7ee8c966
SUBST_CMD is not subpackage dependent, so don't.
2010-07-05 09:00:28 +00:00
espie
d6f6f17460
some libs may be only static libs. we find them correctly, but passing these
...
as -W makes no sense.
2010-07-05 08:58:09 +00:00
espie
63e9ac2f46
tweak the way LIB_DEPENDS and WANTLIB interact.
...
More precisely:
- for "older" libspec in LIB_DEPENDS, only compare them against
the libs from the LIB_DEPENDS.
- check LIB_DEPENDS against all libspecs for the package (both from WANTLIB
and LIB_DEPENDS) to turn them into LIB_DEPENDS.
- create a full list of installed libs and of 'inter-package' libraries to
solve all WANTLIB in one go.
This is actually faster than the old code, but a bit more complicated.
2010-07-04 17:26:14 +00:00
espie
f8a41e2fb7
slightly cleaner logic structure for building packages.
...
In particular, create a tmp package until we're certain it is okay
(thanks to register-plist). -> remove race condition in dpb3, which
assumes a package existing is enough for it to proceed.
2010-07-04 08:45:02 +00:00
naddy
c721edfc8c
don't set ac_cv_header_stdbool_h=yes; gnulib's stdbool tests disagree for
...
gcc2.95
2010-07-02 17:36:58 +00:00
espie
92d44aef56
convert to newer interface. MAKE SURE you have -current pkg_add to run register_plist !
2010-06-30 11:11:19 +00:00
steven
b26ff5b05d
put this in else block
2010-06-28 19:17:27 +00:00
espie
8e755d35c1
output stuff closer to what's needed for Makefiles...
2010-06-28 11:24:01 +00:00
steven
31dadc00df
store full path to another .la file that we find during processing
...
of a -l argument as well.
fixes build of productivity/qhacc
2010-06-27 14:29:54 +00:00
espie
6bcd8a2e0b
clean-up by using new State methods.
...
also cut up the objdump handling into shorter segments
2010-06-26 10:24:34 +00:00
steven
9fdcfd5f6a
basic dependency drop if library isn't found (only when linking a library)
...
makes security/pcsc-lite build
2010-06-25 21:39:35 +00:00
steven
530859e74d
Library->find wants to know where it is called from (LaFile or Program)
2010-06-25 20:59:33 +00:00
steven
f99ed6df6d
put string into a variable here
2010-06-25 20:29:11 +00:00
steven
5351dc846b
always search for the library file when walking the final lib list;
...
also delete the fullpath if no library file is found.
maybe slightly less efficient but should be safer
2010-06-25 20:03:54 +00:00
espie
da98ef0e09
work-around: if we don't get a shortname, tell the user something is a bit
...
too wrong, and return instead of building bogus things.
(I don't see how this ends up in haystack, though).
as noticed by sthen@ on tomcat/v6
2010-06-25 12:02:18 +00:00
espie
957d837c10
get bin files to participate, as noticed by sthen
2010-06-25 10:37:03 +00:00
steven
fb4e10a8f7
no need to add to deplibs recursively here
2010-06-25 05:21:35 +00:00
landry
b8ca591f4b
Reserve uid/gid for upcoming port of collectd
2010-06-23 17:57:20 +00:00
espie
2cb670bc2b
more compact Extra:
2010-06-23 15:02:45 +00:00
espie
155c5966d5
woah, who builds vax ?
2010-06-21 09:16:01 +00:00
espie
5942d883af
less confusing
2010-06-20 08:22:40 +00:00
espie
132a204bdb
activate locks by default, in /tmp/portslock
...
from a strong suggestion by ajacoutot@, after discussion with various
people.
2010-06-20 07:48:20 +00:00
espie
1708ae5032
also note WHICH libraries we did not find and warn about them,
...
so that one can clean up SHARED_LIBS eventually...
2010-06-20 07:36:38 +00:00
steven
bbdbbc1578
when linking executables, add non standard library paths with -rpath
...
to do this we collect the libdirs we encounter when resolving .la files
problem noticed by landry@ when trying to build kazehakase
2010-06-19 09:41:07 +00:00
espie
f05f4e3b87
use for_list
2010-06-18 09:08:57 +00:00
espie
b82438604a
switch to new infrastructure
2010-06-17 10:30:39 +00:00
william
eb2f81bc10
Remove the WRKDIR_LINKNAME symlink at 'make clean' if present
...
help and ok espie@
2010-06-17 03:31:33 +00:00
espie
5d22cfc900
zap old stuff (can't work, since -m is used for something else now)
2010-06-16 12:22:20 +00:00
espie
9f9494f124
well, this can be clueful
2010-06-16 12:09:22 +00:00
espie
c189d9333b
handle more errors
2010-06-16 12:08:42 +00:00
espie
c1fa9429b1
remove PKG_CMD, set up PKG_ADD/PKG_CREATE/PKG_DELETE/PKG_INFO
2010-06-16 12:06:46 +00:00
kili
e0fb41c023
Move `-q' flag for pkg_info(8) from PKG_QUERY back to the two places
...
where it's really needed. Fixes ${_UPDATE_COOKIE${_S}} (i.e. make
update).
"oh oops. yep. Fuck." espie@ :-)
2010-06-15 11:42:21 +00:00
espie
a0b6c058b1
display fullpkgpath if we know it.
2010-06-14 12:29:39 +00:00
espie
bcaeea964d
fix directory creation so that PLIST_DB can be a path, as should be.
2010-06-14 12:02:43 +00:00
espie
c347a26fa6
reorg pkg* thru _PKG*, so that we can add a PROGRESS_METER user settings
...
(defaults to yes, as for ftp).
2010-06-14 12:01:19 +00:00
espie
d26ccc25a2
simplify check-lib-depends run
2010-06-14 11:49:03 +00:00