Commit Graph

1417 Commits

Author SHA1 Message Date
espie
d6c20248ec zap CHOWN/CHMOD, as prompted by a question from stu 2011-10-21 16:35:14 +00:00
espie
af01b50822 prepare framework to avoid pseudo-flavors from dpb unless in bootstrap
situation
2011-10-18 06:43:51 +00:00
espie
cbf9cefc78 pull in elf toolchain along with other properties 2011-10-16 07:52:08 +00:00
espie
490e1cfa18 minor cleanup: there's no reason for these variables to be intermixed
with targets.
lib-depends-check should be defined as ignored along with the rest.
errors-handling should occur last, so that the last block of errors gets
used.
2011-10-16 07:51:27 +00:00
espie
6b8ccf58db - fix position of Makefile.inc include guard to allow arbitrary intermixing of
Makefile.inc and bsd.port.arch.mk without infinite recursion.

- use simpler pattern to test for arch stuff, we just need the values, so
.for A B in ${MACHINE_ARCH} ${ARCH}
is enough and avoids the setting of intermediate variables.

- new PROPERTIES variable that's easy to test with e.g. if ${PROPERTIES:Mapm}
2011-10-16 07:12:35 +00:00
espie
398f738da8 There's no actual reason to accept flavors with non-lowercase spelling,
so kill the misfeature, as agreed by mostly everyone.
2011-10-03 15:46:33 +00:00
jasper
3c6680c24e Remove some duplicate code by putting in a variable, as done elsewhere. 2011-10-03 14:21:02 +00:00
espie
f9a48d816a pseudo-flavors *must* be taken off MULTI_PACKAGES, not BUILD_PACKAGES.
dpb coalesces build dependencies over MULTI_PACKAGES: if we don't substract
from MULTI_PACKAGES, this can lead to bootstrap loops.

Case in point: sysutils/gamin, whose build relies on "no_server" to be
available as a dependency for glib2/gtk+2.

(but IGNORED stuff is properly kept as MULTI_PACKAGES, since it's mostly
intended to avoid strange arch errors)
2011-10-03 08:35:36 +00:00
espie
00d241e48d oops 2011-09-30 05:35:52 +00:00
espie
6cd8498bb2 MONO_ARCHS to de-dup the tree
ok robert@, aja@
2011-09-28 13:54:20 +00:00
espie
c3afd6ab0d more default flavors cleanup:
- if there is no flavor in BUILD_PKGPATH, it's not necessarily the default,
make sure there's an empty flavor by appending a ,
- pass FLAVOR to dump-vars, so that eventually dpb can match "no flavor
specified" to "this is the default flavor", thus getting a bit smarter
(this should speed up the LISTING job by not traversing as many subdirs).
2011-09-28 10:20:19 +00:00
espie
38dc23d0a7 cosmetic: don't repeat ourselves for NOT_FOR_ARCHS. 2011-09-28 10:03:09 +00:00
naddy
0b78f2cdd8 use ${TAR} when extracting .tar.xz, too 2011-09-25 21:30:04 +00:00
espie
1c7ee6e474 regroup everything having to do with MD stuff and split it off into
its own file.

*this requires current src as well*, to have the glue in /usr/share/mk
2011-09-25 07:59:49 +00:00
espie
a08bf6b41e tweak the flavor_fragment stuff to be able to specify "hey, if there's no
flavor, it means it's empty and not the default one". Useful for tools
that reuse saved fullpkgpaths.
2011-09-24 07:36:02 +00:00
espie
a647125932 kill some very old knobs we do not use at all.
okay ETOOMANYPEOPLE
2011-09-21 09:02:09 +00:00
sthen
cff74bb849 no need to warn about xz for SHARED_ONLY ports, they don't work on vax anyway.
ok espie@
2011-09-20 09:36:13 +00:00
kili
a0f936ee32 Temporarily disable globbing in _compute_default, to fix
all kind of weird shit happening (welcome to quoting hell).

Problem noticed first by jasper, globbing fix suggested by
espie.

ok espie
2011-09-16 20:02:20 +00:00
espie
6011c3d2f0 normalize pkgpath in bsd.port.mk 2011-09-16 08:26:09 +00:00
espie
2175cc022f tweak dependency handling: use set -- make _print-metadata to get
all properties of the depending port we want.
2011-09-15 17:19:36 +00:00
espie
609a67413a better: define PSEUDO_FLAVOR as something to add to the fullpkgpath 2011-09-10 08:20:56 +00:00
espie
63dce684dc show FLAVOR to dump-vars.
This is occasionally useful for pseudo-flavors: these do not get encoded
in the pkgpath, so taking (for instance) sqlports, this generates lines
which are later impossible to exploit based only on the fullpkgpath, as
opposed to fullpkgpath,flavor  (which might contain the flavor twice, but
this is not an issue).
2011-09-10 08:05:12 +00:00
espie
312cba7ce7 name construct as OLD_WRKDIR_NAME, to be used as WRKDIR_LINKNAME 2011-09-03 13:39:56 +00:00
sthen
ad0415194d Check NO_CCACHE everywhere that USE_CCACHE is checked, I missed it in
one small but necessary place.
2011-07-20 08:46:20 +00:00
fgsch
7c3864da84 add regress-depends-list.
input and ok espie@.
2011-07-15 23:11:00 +00:00
espie
904b7b580f for depends, always run checks on fullpkgname vs pkgspec upfront.
exit if the dependency doesn't match.
then do the actual dependency and the normal tests.

stop looking at full pkgnames list, makes no sense, even configure depends
can use the required ,-subpackage if they want.

This allows stuff such as BUILD_DEPENDS = dir>=5.0:configure
to get out early if the tree is not uptodate, instead of first configuring
then getting out (problem noticed by landry@).

tested by landry@ and jasper@
2011-07-12 10:04:00 +00:00
ajacoutot
9c199e02f7 When cleaning packages, remove the ones under PORTSDIR/update as well.
ok jasper@ sthen@ espie@
2011-07-12 08:08:01 +00:00
ajacoutot
6ebe2cec7c Make the xz warning fit on one line. 2011-07-12 04:26:47 +00:00
jasper
062d55772c xz doesn't need gcc3 anymore on sparc, so no need to scare people anymore
about it being a pain to build on sparc.
2011-07-11 12:21:53 +00:00
jasper
86c815a76b - move arm platforms to GCC4_ARCHS
- zap mvmeppc
2011-07-10 17:15:08 +00:00
ajacoutot
05e8dc465b Move sparc from GCC2_ARCHS to GCC4_ARCHS.
"sounds like a good plan to me" sthen@
2011-07-08 22:44:16 +00:00
naddy
f551b57bc3 treat .tgz like .tar.gz for extraction and don't rely on the fallback 2011-07-08 05:17:40 +00:00
sthen
14e3fda149 Add infrastructure for ccache in port builds.
"now is probably a good time to commit" espie@
2011-07-05 15:11:20 +00:00
espie
38ada0432c expose print-package-args and friends
create an all-lib-depends-args target that's ways less hackish
than _print-plist-with-extra-depends
for port-lib-depends-check
2011-06-26 14:40:21 +00:00
espie
b71c54aa8d clean-up 2011-06-24 14:44:05 +00:00
espie
2a43e0ad2a optimize newwantlib:
- if _DEPRUNLIB is empty, there's no need for any computation since the
result will be empty.

- zap the loop on _LIB4* for port-wantlib-args, as run-dir-depends already
grabs them.

- expose wantlib_args and corresponding targets for pkg_create to take
advantage of.

- add a dirty way for developers to waive the fake vs. ports check (PLEASE
use with EXTRA CAUTION).
2011-06-24 14:34:15 +00:00
espie
78782b3f3f turns out WKRDIR is not quite as constant as I wished...
found out by naddy@
2011-06-23 22:03:15 +00:00
espie
e428771bff decent error message 2011-06-23 21:49:18 +00:00
espie
fb83b9e131 oops 2011-06-21 17:11:45 +00:00
espie
ad884b7af4 save the wantlibs into files before comparison and give a more useful
error message. This was always intended, I wanted to make things work
before making them beautiful.
2011-06-21 17:04:32 +00:00
espie
3fde18c238 zap old legacy compat with old depends with lots of leading ::: 2011-06-15 16:31:11 +00:00
espie
a307462266 fix some limitations of _print-package-args
* cut it into separate targets for readability and better testing
* filter libraries more efficiently
* use internal variable for resolve-lib

create two targets for solving wantlib: one (_fake-wantlib-args) which uses
the information under the fake directory and installed packages, and another
(_port-wantlib-args) which walks packing-lists. The second one can be used
to collect meta-info even when nothing is installed, and thus provide better
package-signature accuracy, or help with lib-depends-check.
The first one uses what's actually in place when a package is built.
For now, we're paranoid and use both when building a package, erroring out
if they don't match, even though _port-wantlib-args is somewhat slower.
2011-06-15 16:29:48 +00:00
naddy
297ddb4ef7 add --disable-silent-rules for CONFIGURE_STYLE=gnu; ok kili@ 2011-06-02 15:54:10 +00:00
ajacoutot
06abdaec00 Punctuation in the xz WARNING. 2011-06-01 16:04:12 +00:00
espie
e5e8d25a93 initial support of xz, to be polished.
most important part is nagging the user that this WILL not build on
some architectures and be very inconvenient on some others.
2011-06-01 12:04:06 +00:00
espie
6fc3e924f5 dpb -f will need FETCH_MANUALL to tell people to fetch those 2011-05-16 23:40:24 +00:00
kili
9862026031 Fix missing quote around $$pkg.
ok espie@
2011-04-23 08:25:50 +00:00
espie
bdca4a9a30 prefer the V- version for non-MULTI_PACKAGES vars.
fixes E on libf2c-old on i386.
2011-04-16 12:21:44 +00:00
espie
ab5cd9d6f3 redo the IGNORE dance in a smarter way:
derive IGNORE-sub from IGNORE, and then test IGNORE-sub

Define complete value for IGNORE very late, _MULTI_PACKAGES trimming only
requires subpackage-specific info.

fix bug in describe, correctly differentiate  between empty and !defined
ONLY_FOR_ARCHS.
2011-04-16 10:31:20 +00:00
jasper
eaf9dad616 remove USE_MOTIF bits
ok aja@ sthen@
2011-04-10 17:55:41 +00:00
espie
c37a0a8a83 define IGNORE${SUBPACKAGE} for each SUBPACKAGE.
Prevents dpb from building subpackages that are NOT_FOR_ARCHS or
ONLY_FOR_ARCHS, as tested by quite a few porters.
2011-04-03 07:19:05 +00:00
fgsch
f33f72e660 add repackage to the recursive targets.
with input and ok espie@
2011-03-28 00:16:13 +00:00
espie
c7b6b23044 tweak logic slightly to avoid duplicate error messages which make no sense 2011-03-22 19:56:51 +00:00
sthen
fc8ddee2f7 adjust the BUILD_DEPENDS for USE_GROFF to require 1.21; ok espie@ 2011-03-21 09:38:53 +00:00
espie
e544151d8e allow things to proceed after flavor_fragment in SUBDIR handling.
Also puts the FULLPKGPATH in extra_msg to figure out where bad dependencies
come from
2011-03-20 19:28:07 +00:00
ajacoutot
c604c9ac83 Make clean=plist consistent with the other clean targets, do not error
out if the plistdb directory does not exist.

ok jasper@ espie@
2011-01-16 20:36:49 +00:00
espie
ac029da04c pass an extra -q to pkg_info -r... that way, we can have "the human version"
be more verbose...
2011-01-10 12:59:36 +00:00
espie
df8ae14936 allow BUILD_DEPENDS = somepath>=version:patch
THIS REQUIRES A pkg_info WITH THE -r OPTION, e.g., current !
2011-01-09 13:07:53 +00:00
espie
f90f6db6eb totally forgot about PATCHFILES 2011-01-04 21:54:36 +00:00
espie
d876093129 old forgotten PKG_SPEC commit 2010-12-20 16:39:53 +00:00
espie
746282fe00 pass PORTSDIR to pkg_create so that it can check more things 2010-12-20 13:05:40 +00:00
espie
ef56915d0c - pass PORTSDIR for libtool, since people seem to want to stuff their
ports tree in weird places.
- show CHECKSUM_FILES if DPB=fetch or better.
2010-12-14 11:37:38 +00:00
espie
884b53366c dpb does not need EPOCH + REVISION 2010-12-07 11:26:37 +00:00
ajacoutot
336c24d6ba Add a default HOMEPAGE for cpan ports when none is specified.
All work including upcoming huge bump done by Mikolaj Kucharski, thanks!

ok jasper@
2010-12-03 11:43:05 +00:00
espie
abf72e33c3 SHARED_ONLY is Yes or No 2010-11-26 20:24:36 +00:00
espie
2c0a53e285 show the old-style depend.
fix :configure depends for versions.
move PKGSPEC to !dpb dump-vars
2010-11-25 18:06:37 +00:00
espie
21be510d2b fix quoting (spotted by jeremy@), make old style depends an error 2010-11-23 18:34:20 +00:00
espie
1c9acc51a6 tweak where stem-* is computed, to be documented and used later 2010-11-20 19:57:59 +00:00
espie
811d94d9d6 new depends 2010-11-20 19:56:47 +00:00
espie
e4c6484205 small tweaks:
compute _CHECK_DEPENDS earlier
 set extra_msg to have flavor_fragment show something better than empty
directories
2010-11-16 19:26:18 +00:00
espie
6c85f407d1 missed _print-plist-with-extra-depends, noticed by jasper@ 2010-11-16 09:39:45 +00:00
espie
86a41b10d0 most abreviated format for depends. there's a consensus that it's good,
and it works.
2010-11-16 09:16:26 +00:00
espie
b1497e737a revamp the way dependencies work
- strip extra : at start of depends (old LIB_DEPENDS are gone, right)
- rely on the fact, :extra is only patch|configure|build for any depends.
- use _parse_pkgspec to do things intelligently.
- _set_stem2default to handle STEM-*.

- switch internal stuff to new style.

This is backwards compatible. But this does require -current dpb, -current
sqlports, and -current pkg_add to work !
2010-11-14 11:17:36 +00:00
espie
199b16a59a all old LIB_DEPENDS=libspec:pkg:path should be gone, so the warning becomes
an error.
2010-11-11 19:03:25 +00:00
espie
e7a2eb26ed "fake" extra @depend lines for LIB_DEPENDS in port-lib-depends-check, so
that they show up even if there's no WANTLIB for them yet
2010-11-11 12:38:51 +00:00
espie
c2993506c5 oops. noticed by sthen@/jasper@ 2010-11-09 23:55:28 +00:00
espie
38061a5145 trap does not exit, avoid unlocking twice, even though it's harmless 2010-11-09 11:18:47 +00:00
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
steven
6653580a4a fix pkgpath for libgfortran 2010-10-23 15:45:59 +00:00
steven
1b4c6e5748 add libgfortran to WANTLIB here 2010-10-23 15:30:00 +00:00
steven
1a09781ad7 remove MODFORTRAN_WANTG77 2010-10-23 15:16:27 +00:00
steven
e879a75e6b introduce MODFORTRAN_COMPILER, to be set inside a port
accept g77 and gfortran for this, and make it default to g77
add necessary variables for gfortran usage
make some of the variables internal
2010-10-23 15:05:47 +00:00
jasper
f4bfbd60be - allow recursive copy of the examples, this will fix some quirky ports
ok sthen@
2010-10-23 11:58:33 +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
jasper
cfb174278e - add MODCPAN_EXAMPLES, which can be set if there are example scripts
in the distfiles. defaults to installing files from examples/. but
that can be set via MODCPAN_EXAPLES_DIST. please see port-modules(5) for
more information.

feedback and ok espie@
2010-10-01 21:55:20 +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
sthen
9b37ead841 add libperl to WANTLIB for shared_only perl ports, to automatically handle
ABI changes in future.

bumps for affected ports to follow.
2010-09-24 15:15:38 +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
36b298174d kill a few things which have now MOVED 2010-08-20 15:07:22 +00:00
espie
34fb20b43d use scripts from bin 2010-08-20 15:02:24 +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
ajacoutot
66223a71e6 Add _AUTOMAKE_SPEC for automake 1.10. 2010-07-22 19:14:09 +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
steven
952b3ac19a drop USE_GCC4. we don't use this and the module checks COMPILER_VERSION.
from/discussed with brad
2010-07-21 16:45:21 +00:00
steven
26f69c2f4b use COMPILER_VERSION instead of USE_GCC3
from brad
2010-07-21 16:42:52 +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
steven
ba3f871673 new WANTLIB,LIB_DEPENDS 2010-07-18 11:10:44 +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
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
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
espie
90ca9c763d BREAK the tree in a very obvious way for people who did not remove
/usr/bin/f77 and /usr/bin/g77
2010-06-05 16:38:47 +00:00
espie
e6e3083ecd if IGNORE'd ports are used as dependencies, write the IGNORE message in an
_IGNORE_COOKIE file.

React accordingly in dependency handling, namely fault the port that tries
to use IGNORE'd stuff.
2010-05-28 12:34:22 +00:00
espie
a7f09f8eca our mkdir -p is thread-safe, so use it (tested for a few months) 2010-05-28 10:42:09 +00:00
espie
5bdc8e686d amd64 and sparc64 have switched 2010-05-28 10:09:58 +00:00
espie
00ee958882 prepare old compiler too 2010-05-25 10:10:43 +00:00
espie
28eb674094 f77 no longer lives in source 2010-05-25 00:27:06 +00:00