Commit Graph

2550 Commits

Author SHA1 Message Date
steven
9b80461fa6 put .o files on command line in objects array as well.
this fixes errors in gst-plugins-bad.

while here, check the object list and bail out if it's empty
2010-09-25 13:32:06 +00:00
steven
d9fe54e890 don't use empty valued libdir here 2010-09-24 21:07:30 +00:00
steven
205a6c48cc move test to discover shared libs in .la files to pass 2 because then we
actually have all the .la files we need (especially so if users insist on
using -lfoo instead of foo.la).
this makes it behave better for the creation of executable wrappers.
should fix sysutils/bacula.
2010-09-24 20:57:54 +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
schwarze
5a57c0a382 s/-indent offset/-offset indent/ in .Bd; found by mandoc -Tlint 2010-09-21 23:25:47 +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
sthen
cd42423f21 remove bitchx 2010-09-20 07:56:27 +00:00
steven
8618d9ee5f when a lib has multiple different library names, populate the .libs dir with
symlinks to all of them.

this fixes kde/multimedia, which builds a libmpeg-0.3.0.so (using -release),
also known as libmpeg.so, and then links something with -lmpeg ...
(before this commit, we only had a symlink to the former)
it should really just use libmpeg.la instead, but let's have libtool handle
such attempts anyway.
might fix other stuff i'm not yet aware of, too.
2010-09-19 17:30:52 +00:00
steven
525b6fd50d when we had for example -lX11 -L/usr/X11R6/lib,
we could not find /usr/X11R6/lib/libX11.la

therefore, parse -L arguments before everything else so we know in which
directories to search libraries.

fixes libcaca, and possibly others
2010-09-18 16:22:26 +00:00
fgsch
4e34b48fa1 reserve user _ircd-seven 2010-09-17 08:08:42 +00:00
edd
0249dbd548 reserve mediatomb user as requested by sthen@ 2010-09-16 15:45:51 +00:00
espie
761854d37a reset recorder if we get contents from packages, since it would grow too
much.
2010-09-15 09:36:57 +00:00
espie
4090fab496 make it work even if LOCALBASE is not defined 2010-09-15 09:36:02 +00:00
landry
9f03a969b2 Reserve uid 655 for upcoming net/minbif port. 2010-09-13 19:39:34 +00:00
sebastia
5a958903ae Add spectrum to the build, and add the user to the database 2010-09-13 16:51:09 +00:00
espie
9aa92a99d4 saner: always go thru a DumpRecorder, and perform full save/retrieve from
a dump recorder.
2010-09-13 14:38:05 +00:00
espie
0fb39c2840 document make-plist 2010-09-13 12:24:33 +00:00
espie
7b59ef32cd document update-patches 2010-09-13 11:59:37 +00:00
espie
7ff5c82d8e typo 2010-09-13 11:47:08 +00:00
espie
2997efc6e6 document retrieve-index 2010-09-13 11:43:39 +00:00
espie
1ee3d54881 document fetch-all, getpkgpath, link-checksum, portslogger 2010-09-13 11:31:42 +00:00
espie
b8fc8e6548 basic support for READMEs, to be documented 2010-09-13 11:04:31 +00:00
jasper
22b084b86a - various minor style nits
- start explanation of options with a capital letter for consistency
   with other man pages.
- sprinkle some more .Xr where needed
- slight rewording in some places

feedback and ok espie@
2010-09-09 19:17:06 +00:00
jasper
faa180b1de have clean=all zap builddir too. req'd by antoine 2010-09-09 15:06:42 +00:00
jasper
57f8f404d4 - typo 2010-09-09 05:40:41 +00:00
schwarze
df2969a3db fix a typo and kill trailing whitespace found by mandoc -Tlint 2010-09-08 19:23:56 +00:00
espie
789d9d1c82 document some more scripts 2010-09-08 14:52:27 +00:00
espie
afd72e8781 missing end $, noticed by Markus Lude 2010-09-08 11:06:12 +00:00
espie
3cbf41bbc9 prepare to move this too 2010-09-06 17:12:36 +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
schwarze
aa9bdb6a6a fix a few mdoc(7) syntax errors found by mandoc -Tlint
one of them was fatal (no formatted output at all)
another one caused information loss in the formatted output
2010-09-03 18:51:19 +00:00
giovanni
92d87f6c16 Switch to an http mirror
ok sthen@
2010-09-03 12:58:14 +00:00
jasper
04abd53ab1 - revert previous, it breaks builds for at least two builders.
discussed with landry@ and naddy@
2010-09-02 11:16:09 +00:00
sthen
5485ada36d - move archive.apache.org higher in the list; no sense sitting through a
bunch of mirrors when the most common problem is that a distfile has been
moved to the archive; ok jasper@

- while there replace planetmirror (no longer active) with another site
2010-09-02 09:03:50 +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
steven
eb0e2272cc adjust portslogger path 2010-08-30 19:03:23 +00:00
steven
a0c67c389d move portslogger to bin/
ok naddy@

if you have build scripts that use portslogger, adapt the path
2010-08-30 19:02:33 +00:00
millert
d2a8e4a3ff We no longer link nawk to awk. OK sthen@ naddy@ jasper@ 2010-08-26 21:03:00 +00:00
steven
a91d9da90d libtool has been moved to bin 2010-08-26 19:59:50 +00:00
jasper
c055be22f3 - strip leading 'lib' when we write the library name to the shared_libs.log
file.

ok steven@
2010-08-26 17:48:27 +00:00
sthen
818e8a1dfd - drop some sites which no longer mirror cpan
- add some new sites to replace the above

- switch some sites over to using http - notably, the first
site on the list is now http, which is a big win on networks with
broken ftp (note that peek-ftp skips http mirrors, so this doesn't
cause any problem there).

okay ajacoutot@
2010-08-25 10:16:48 +00:00
naddy
807d4ad3da fix overquoting: we want to exit with 1, not a "exit 1" command not found error 2010-08-24 15:07:54 +00:00
jasper
4d22c29220 - be explicit about the hosts file
agreed by landry and jakemsr
2010-08-23 19:08:08 +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
551aa46116 zap old option, fix usage and man for common stuff 2010-08-20 17:03:36 +00:00
espie
7c72485b5b document check-lib-depends 2010-08-20 15:50:56 +00:00
espie
04cb4e82a5 move a large part of check-lib-depends into separate modules 2010-08-20 15:29:41 +00:00
espie
9b38b584e9 better namespace for make-plist internals, prepare to cut up check-lib-depends 2010-08-20 15:22:21 +00:00
espie
c61100c7e6 typo 2010-08-20 15:16:07 +00:00
espie
77858d70dc and libtool 2010-08-20 15:09:54 +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
0e23b453cb and getpkgpath as well 2010-08-20 15:01:12 +00:00
espie
4699391cb5 rename/modernize 2010-08-20 14:59:41 +00:00
espie
8aa8957de5 use scripts from their new locations 2010-08-20 14:53:18 +00:00
espie
22a16e663e add shell scripts too 2010-08-20 14:50:36 +00:00
espie
0f5a54733f +extract-dependencies 2010-08-20 14:44:56 +00:00
espie
f14352730d and dolock 2010-08-20 14:40:31 +00:00
espie
b1ddddbdfb add & document pkg_subst 2010-08-20 14:38:31 +00:00
espie
4a8d784a7d merge back jasper's commit 2010-08-20 14:23:02 +00:00
espie
a91e066d52 document register-plist 2010-08-20 14:22:00 +00:00
espie
cc115f2ce5 finish renaming check-conflicts, add (c), document check-conflicts 2010-08-20 14:09:59 +00:00
espie
8409f0fef7 copy some stuff to the new organization, rename find-all-conflicts to
check-conflicts for consistency
2010-08-20 13:50:11 +00:00
espie
8fd332a665 cp dpb in there.
(old build/dpb will die eventually, but do the rename now)
2010-08-20 13:42:29 +00:00
espie
4c6d1b431f move stuff here from infra/build 2010-08-20 13:40:13 +00:00
jasper
8057b45281 - spello 2010-08-19 13:54:43 +00:00
naddy
6b541e86ae 4.8 CD package lists 2010-08-17 19:31:55 +00:00
espie
9a190cd45e much longer explanation of what is wrong now that it's on by default. 2010-08-07 19:49:10 +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
d8f5381f62 in case plists differ, try a bit more to unify "noise".
unconfuse the chromium case naddy encountered...

(also a bit of refactor to simplify testing)
2010-08-06 10:15:17 +00:00
sthen
d808580e91 - move Horde distribution sites list across to horde.port.mk, no point
cluttering network.conf.template now they're in one place

- add an http variant at the head of the list
2010-07-30 21:24:39 +00:00
espie
33f5e8c2c7 pkglocatedb is a pkgpath like others. make sure it's there, even though
it's in arch's plists.

fix absolute path handling (yeah, I'm stupid)
2010-07-26 12:34:43 +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
edd
4fb3f3f3f0 should be a space before an equals on the MAINTAINER example comment.
OK merdely@, sthen@
2010-07-21 12:27:41 +00:00
sthen
2f6937f1c0 tweak, suggested by merdely@ 2010-07-21 00:18:54 +00:00
sthen
02e6c92476 add a few notes and update some obsolete parameters, ok phessler@ ajacoutot@ 2010-07-20 16:27:29 +00:00
espie
dd4cfea122 do a bit more magic: in case of a fatal change, don't write the new
packing-list "as if", but transform back the non-fatal pieces into what
was in the old packing-list, in order to minimize noise in the diff.
2010-07-19 17:40:17 +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
sthen
1399170cc0 add sqlports to the list used for partial arm builds 2010-07-17 08:52:26 +00:00
espie
ef624f5fa0 prevent landry from foobaring dpb3 2010-07-14 14:34:34 +00:00
espie
1b93bf40e7 if we didn't fill info, don't even retry 2010-07-14 14:18:59 +00:00
espie
5449b11d06 instead of forgetting @depend and @wantlib, force them to go upwards,
version-wise.

okay sthen@
2010-07-14 09:58:48 +00:00
espie
29bd0287a9 synch with new infrastructure, might be the reason for recent trouble ?
I don't know... works for me.
2010-07-13 21:12:41 +00:00
espie
7ff9f33df5 remove outdated comment
use progress->for_list
2010-07-12 20:19:40 +00:00
ajacoutot
d695243767 Also add the main ctan.org. 2010-07-12 10:35:12 +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