Commit Graph

2647 Commits

Author SHA1 Message Date
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
d4ee90931f tie engine with var grabber, get ready to re-do port meta on error. 2010-10-27 12:58:26 +00:00
steven
dda823ac11 create an executable wrapper only if we encounter not-installed shared libs
(still based on .la file content)

this fixes at least fix www/wml and maybe some others
2010-10-27 12:43:41 +00:00
steven
e0fd79dc30 this can never have worked for real...
change .a -> .la
in case we ever run into this particular case
2010-10-27 11:03:17 +00:00
espie
c1e971f7ca document check-manpages 2010-10-27 09:12:30 +00:00
steven
27f392bd95 do not pass libtool's -static option to the linker
instead do what it is supposed to do: not dynamically linking with
not-installed libtool libraries

openldap linking incorrectness pointed out by pea@

this might fix some other stuff as well
2010-10-27 09:05:30 +00:00
espie
7933e75f03 make -p optional 2010-10-27 09:04:37 +00:00
espie
d297996843 fix system for new interface 2010-10-26 21:56:40 +00:00
espie
c794585beb also register pre/do module hooks as targets. 2010-10-26 17:04:20 +00:00
espie
8557f6f587 distinguishes between errors we create (E=) and locks we encounter (L=) 2010-10-26 16:57:10 +00:00
espie
1fecde2518 rework PkgPath to distinguish between empty and default flavors...
turns out we probably don't need FULLSUBDIR after all.
compute SUBDIR better, possibly with quotes.
Remove trailing / on subdirs, in case people use completion.
2010-10-26 15:45:09 +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
espie
cce4985d69 refactor. fix yet another bug (always return something) 2010-10-25 17:31:25 +00:00
espie
7a9e9b48bd use same pattern for oldlines.
(actually wrote this and the next few commits at the spa, in my head.
Now I just need to type them in and commit).
2010-10-25 17:23:13 +00:00
sthen
4f2636cfce prepare for kvm_getprocs() removal; remove ac_cv_func_kvm_getprocs from
the autoconf cache. ok naddy@
2010-10-25 12:30:29 +00:00
espie
e25225b1b1 display fix. I'm a moron 2010-10-25 10:46:11 +00:00
pea
d023fcaa24 Reserve user _vnstat
ok jasper@
2010-10-25 09:59:13 +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
663157b0c7 add an option for dpb to keep going if there are errors left.
there's a bug in the display (to be fixed) as errors won't show properly
and you have to look manually though...
2010-10-24 10:01:57 +00:00
espie
5d8d9e2600 if we didn't parse the path, then we don't have the pkgname, duh. 2010-10-23 21:46:03 +00:00
espie
721c339299 zap P/I distinction, it was a lousy idea anyways 2010-10-23 18:14:19 +00:00
espie
e694d95fa7 fix loop: we know we tried it, it didn't work, so don't try it AGAIN. 2010-10-23 18:02:59 +00:00
espie
7439821562 if we don't ssh to it, don't print the name either in errors, as requested by
landry@
2010-10-23 17:58:55 +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
bluhm
85f4721201 Put the new USE_GROFF into Makefile.template.
ok espie@
2010-10-19 18:18:29 +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
jeremy
ac8da2395b Remove MASTER_SITE_RUBYFORGE from network.conf.template.
It's only remaining user is www/ruby-passenger, so hardcode
it in that port's Makefile.

ok landry
2010-10-15 20:27:22 +00:00
jasper
73787efbf7 - add MASTER_SITE_GCC here, instead of redefining it several times in the tree 2010-10-14 08:03:13 +00:00
sthen
ebf21120c2 anlx.net cpan mirror changed dir layout. noted by Brad. 2010-10-10 20:02:04 +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
jeremy
99f5effd75 Remove MASTER_SITE_GITHUB
This was only used in two ports, and will never be used in more ports
as GitHub no longer builds new gems.  Both of the ports are also
found on rubygems.org, so this switches them to use the standard
MASTER_SITE_RUBYGEMS from ruby.port.mk. ruby-findmyiphone has a small
change from the GitHub version that requires a package bump.

OK landry@
2010-09-29 15:29:21 +00:00
jasper
ac1da2d7e7 - sync gnome mirrors with upstream mirrors 2010-09-29 12:30:08 +00:00
jeremy
b1ea7b2bba Remove MASTER_SITE_GEMCUTTER
Gemcutter was replaced with rubygems.org, so remove the MASTER_SITES
from the Makefiles and let MASTER_SITE_RUBYGEMS in ruby.port.mk
handles things.

OK sthen@ "if the checksums still match"
2010-09-28 21:40:12 +00:00
steven
354a48eda4 do not write modules in shared_libs.log
noticed by ajacoutot@
2010-09-28 18:52:36 +00:00
steven
1e8a0905a2 - when writing a program wrapper, use the correct path
a/path/to/.libs/foo instead of .libs/a/path/to/foo
- make sure the symlinks pointing to the library are also in this path

problem spotted by naddy in net/gnet regression tests
2010-09-28 18:42:17 +00:00
jeremy
510b9cdfa4 Add MASTER_SITE_RUBYGEMS, which is the new location for ruby gem distfiles
OK jcs@, steven@, sthen@, landry@
2010-09-28 14:45:10 +00:00
steven
9098b5f565 drop relative -L paths from dependency_libs before installing the .la file. 2010-09-25 17:14:48 +00:00
steven
3ae0723a0e drop libraries from deplibs which we are not going to install.
this should fix exiv2.
2010-09-25 16:58:52 +00:00
steven
44e0bdbcd7 also add -lfoo arguments to deplibs if there is no key yet for this library,
because the key may be set in a recursion step, but we only add to deplibs
at level 0.
this seems to produce more correct deplibs.
first step to fix kde/bindings.
2010-09-25 15:20:04 +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
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
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