espie
a4f88880eb
- add check-register, that basically does print-plist
...
- switch motif to WANTLIB
- start warning about old style LIB_DEPENDS. It's time !
2010-11-07 00:03:38 +00:00
sthen
89545fa5be
Let pkg/README-subpackage work, before this we looked for README--subpackage.
...
ok espie@
2010-10-28 22:39:44 +00:00
jasper
974d938556
- remove "suspicious empty line" emacs whines about
2010-10-28 21:09:52 +00:00
espie
feefd4a81a
give readmes to SHAREOWN/SHAREGRP
2010-10-28 14:26:36 +00:00
espie
ff7b318b8c
turns out dpb doesn't need this in the end...
2010-10-28 11:14:23 +00:00
espie
367244bbf1
pass FULLPKGNAME to SUBST_VAR (impossible to do readmes otherwise)
2010-10-27 17:38:18 +00:00
espie
d9d6c3c0f1
tweak readme: say that we're installing something
...
put that into mtree (to be done in src as well)
install in LOCALBASE, independently from PREFIX (newer pkg_adds are happy
with @cwd outside of PREFIX)
2010-10-27 14:34:33 +00:00
espie
feaf413f65
scaffolding for /etc/rc.d, okay robert@
2010-10-27 14:29:01 +00:00
espie
c794585beb
also register pre/do module hooks as targets.
2010-10-26 17:04:20 +00:00
ajacoutot
8dd881a111
Add a MODFOO_pre-configure hook so that MODULES can add some steps at
...
pre-configure time even when a pre-configure target already exists.
ok espie@
2010-10-26 10:39:22 +00:00
ajacoutot
d7069ea573
Bye bye USE_X11.
...
From now on, building ports requires X11BASE.
* lots of ports missed this variable (porters always have X11 installed)
jasper made a first pass on fixing these, but no doubt it will drift
away soon
* users should use packages
* people building ports should know what they are doing and having
X11BASE as a requirement is perfectly reasonnable
* we are merging config.x11.site into config.site because of a stupid
autofoo bug ; currently when USE_X11 is set, some ports may loose the
ability to even load config.site
tested on a bulk by landry@
ok robert@ jasper@ landry@ sthen@ naddy@ "I won't cry if it dies" espie@
2010-10-24 20:41:23 +00:00
espie
635b6dc960
insist on "latest" groff so that mdoc macros get pulled in.
2010-10-22 15:51:07 +00:00
espie
7eded3e86b
pass FULLSUBDIR around, to eventually allow dpb to distinguish between
...
empty and default stuff.
2010-10-18 08:32:21 +00:00
espie
bb8b47eb44
new read-only variable TARGETS for introspection purpose (list of targets
...
specific to a given port, e.g, {pre,do,post}-*
2010-10-02 10:25:21 +00:00
steven
60381b0e9e
if we are not using gnu libtool, it's not needed in build depends
2010-09-25 13:39:02 +00:00
jasper
449709ad27
- mips64(el) switched to gcc4
...
ok phessler@
2010-09-24 15:25:21 +00:00
jasper
0603cf2bf3
- finally works as intended now
2010-09-24 13:37:53 +00:00
espie
e4ea354ddf
clean-up "normal" dir even after cleaning flavors.
...
note that clean=flavors can't work with WRKOBJDIR set
2010-09-24 13:13:46 +00:00
espie
95ca94c501
works better when you put the test where it belongs
2010-09-24 09:20:16 +00:00
landry
8a6d1ad0ac
Switch to steven@/bernd@'s perl libtool living under infrastructure/
...
by default for ports that set USE_LIBTOOL=Yes. Faster, better,
stronger, and cuts bulk builds time by ~15% in my tests on amd64.
Volunteers welcomed to fix the few USE_LIBTOOL=gnu users in the tree.
Report any oddities to ports@...
'Go ahead' espie@ 'Please proceed' steven@
ok ajacoutot@ jasper@ phessler@ sthen@
2010-09-22 18:43:30 +00:00
sthen
f0af6ad5d4
output EPOCH and REVISION in dump-vars, and use it in sqlports.
...
ok espie@ (with a reminder to add EPOCH, my first diff just had REVISION).
2010-09-21 15:18:03 +00:00
espie
b8fc8e6548
basic support for READMEs, to be documented
2010-09-13 11:04:31 +00:00
jasper
faa180b1de
have clean=all zap builddir too. req'd by antoine
2010-09-09 15:06:42 +00:00
jasper
26eaec3c48
- add clean=all, which takes care of cleaning work, flavors, packages and plist.
...
just a shorthand for adding the above words to a list.
ok espie@
2010-09-06 12:06:29 +00:00
sthen
0a21cddca6
let port-lib-depends-check work with an alternative PORTSDIR;
...
debugged with Brad, better fix after a suggestion from espie@
ok espie@
2010-08-31 19:30:43 +00:00
espie
3e43c2d160
move LOCKDIR default to pkgpath.mk since it's shared with Makefile.
...
fix one missed dolock.
Thanks naddy@
2010-08-20 23:11:07 +00:00
espie
8aa8957de5
use scripts from their new locations
2010-08-20 14:53:18 +00:00
espie
0583896947
turn on PLIST_DB by default, as discussed with landry/aja/sthen
2010-08-07 19:41:21 +00:00
espie
43c7b1a093
use new make feature :QL for safer quoting.
...
helps getting past shell quoting errors, so that the infrastructure
will report actual trouble (is also simpler than :S/<...>/ for pkgspecs).
REQUIRES CURRENT MAKE TO WORK!!!
2010-07-24 10:35:38 +00:00
steven
715dacfb85
pass COMPILER_VERSION in MAKE_ENV instead of USE_GCC3.
...
this removes the last instance of USE_GCC3 in ports.
from brad
2010-07-21 17:11:48 +00:00
naddy
a2c9a774ff
Remove redundant variables OPSYS and OPSYS_VER.
...
OPSYS was always "OpenBSD", the ports tree doesn't cover other
operating systems.
OPSYS_VER was the same as OSREV.
ok espie@
2010-07-18 18:49:01 +00:00
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
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
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
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
c1fa9429b1
remove PKG_CMD, set up PKG_ADD/PKG_CREATE/PKG_DELETE/PKG_INFO
2010-06-16 12:06:46 +00:00