Commit Graph

2529 Commits

Author SHA1 Message Date
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