Commit Graph

1381 Commits

Author SHA1 Message Date
brad
b3ceff88e7 this patch has been part of our X for over 5 years. 2006-01-08 02:54:22 +00:00
brad
3db4a36f91 remove unused libtool 1.3 patches 2006-01-08 02:48:34 +00:00
espie
c3796c9e9a prepare to pass stuff over to libtool. 2006-01-05 19:33:17 +00:00
espie
7c0d5b76c2 don't bother checking symlinks, they point at a bogus location anyways. 2005-12-30 14:09:47 +00:00
espie
09d0bdfe32 set LIBname_LTVERSION=-version-info <major>:<minor>:0
in MAKE_ENV/MAKE_FLAGS/FAKE_FLAGS if USE_LIBTOOL=Yes.
2005-12-29 12:48:04 +00:00
naddy
94284f6400 Avoid confusing quote nesting: For MODGNU_SHARED_LIBS, since we
typically quote the flags part of the (name, flags) tuple already,
don't put it into another level of single quotes.

ok espie@
2005-12-26 21:29:41 +00:00
bernd
abab1f6055 Display lib version in "unregistered shared lib" warning.
okay espie
2005-12-26 19:29:34 +00:00
sturm
7caae7d3d8 indentation 2005-12-24 20:11:03 +00:00
bernd
d73c3d3e79 Display warnings for unregistered shared libs only once per lib.
Less chatty now.

ok espie@
2005-12-23 13:30:05 +00:00
espie
9416bb604f get make-plist aware of the version number variables. 2005-12-23 12:48:59 +00:00
espie
75c9fbaa3f basic framework to have control over shared libs numbers:
SHARED_LIBS enumerates the libraries like so:
SHARED_LIBS=	foo 1.0 \
		zop 2.5 \
		tag 3.0

This just defines LIBfoo_VERSION=1.0, LIBzop_VERSION=2.5, LIBtag_VERSION=3.0
and adds these to SUBST_VAR, further tweaks must be done, usually at the
MAKE_FLAGS/MAKE_ENV level.

For gnu ports that use automake, the supplementary MODGNU_SHARED_LIBS
variable can be used like this:
MODGNU_SHARED_LIBS=	foo	'-no-undefined'

and it will define libfoo_la_LD_FLAGS=--version-info 1:0:0 -no-undefined

Some gnu ports have weird variable names for libraries. For instance,
the libORBit-2 is set using libORBit_2.
LIBORbit-2_ALIAS=ORBit_2
will make sure the correct name is used.

much feedback from bernd@
2005-12-23 12:41:37 +00:00
jolan
a64ec6720a _akpop3d 2005-12-14 05:59:47 +00:00
pvalchev
00403e42cc non-static flavors for all 2005-12-12 23:32:22 +00:00
espie
f755566506 be more specific about conflict handling: conflicts can be registered at
any level in the dependency tree, but we shouldn't mark as conflicting packages
that do depend on each other or that have common dependencies.

Issue noticed by alek@ on plone vs. zope.
2005-12-12 13:37:21 +00:00
pvalchev
c9a0010d14 +bash,tcsh 2005-12-11 00:57:14 +00:00
kurt
d72c55ffe0 remove some old or non-responsive MASTER_SITE_APACHE mirrors 2005-12-07 18:57:07 +00:00
ian
edc8f04975 Minor clarification of message, ok espie@ 2005-12-06 17:15:38 +00:00
pvalchev
274fea4a25 some more 2005-11-30 21:23:30 +00:00
sturm
ae0ccee5c8 _avenger, reminded by maintainer 2005-11-30 06:27:33 +00:00
robert
386a54c081 add xmms, xmms-tremor, xmms-mad and wesnoth-tinygui 2005-11-28 05:52:22 +00:00
pvalchev
d22d69bb02 sync 2005-11-28 01:12:29 +00:00
espie
f5747f689b move comment accordingly 2005-11-27 12:31:18 +00:00
sturm
60029f4c1d don't duplicate code, use _fetch_packages_fragment and
_pkgrepository_fragment instead
copy packages in local components of PKG_PATH to ${PKGREPOSITORY}

feedback and ok espie@
2005-11-27 12:15:59 +00:00
espie
e67b8501b3 now that pkg_add does the right thing when confronted with stuff that's
already installed, use it directly for updates.
2005-11-15 18:14:56 +00:00
sturm
b2f6cad60f WANTLIB
suggested by Moritz Grimm <mlist at scapa.dnsalias.net>
2005-11-12 00:07:22 +00:00
espie
be8564fbad tweak the depends clean recursion, so that it does not recurse into
the main directory... since pseudo-flavors are not entered as pkgpath,
this is necessary to ensure the top-level directory gets cleaned up
correctly...

Problem reported by Moritz Grimm.
2005-11-11 11:31:53 +00:00
naddy
f3521c1b69 propagate name change of loop variable to shell fragment 2005-11-10 15:11:12 +00:00
espie
a7f7af295a more error checking.
reported by Simon Kuhle
2005-11-06 09:34:20 +00:00
espie
013cbc8524 zap old test that's no longer needed since 2001. 2005-11-05 23:54:53 +00:00
espie
77f80ebb46 touch -f ? what's that ? 2005-11-05 23:41:36 +00:00
espie
9ab4bf2440 comment to /targets 2005-11-05 23:39:51 +00:00
espie
eae1e7329e move DIFF_ARGS around 2005-11-05 11:38:46 +00:00
espie
57949a8f52 better naming, discussed with nikolay 2005-11-05 11:16:17 +00:00
espie
8d272b5a9e introduce new macros to make things more readable.
Kill really old stuff: LD_CONFIG,
that's no longer used.
2005-11-05 11:11:17 +00:00
sturm
85a647f74b better tests when looking for packages in $PKG_PATH
use ${ECHO_MSG} where applicable

ok espie@
2005-11-05 10:35:02 +00:00
espie
9486605a21 zap unneeded FLAVOR=
prompted by a question from sturm@
`why do we need to set this ?'

answer: we don't. ;)
2005-11-04 09:40:30 +00:00
sturm
44e59f0eb1 try fetching missing packages from PKG_PATH, activated by setting
FETCH_PACKAGES

set PKG_PATH consistently when calling pkg_add

idea, help and ok espie
2005-11-04 09:34:50 +00:00
david
6da28d9613 check the correct exit code which fetching non-existent files; ok bernd@ 2005-11-03 22:33:04 +00:00
espie
94f6ed8d7c alek@-friendly error messages. 2005-11-03 19:32:25 +00:00
espie
fea5203c2e duh. found by naddy@ 2005-11-03 17:23:30 +00:00
espie
4135e14535 error out in case we can't write files.
found out by bernd@
2005-11-02 21:39:43 +00:00
espie
005b234dc8 streamline flavor_fragment after trying to explain it to sturm@.
it makes more sense to have a subdir variable as input, split it
into toset and dir as output, and to unsetenv FLAVOR SUBPACKAGE along
the lines.

End result should be equivalent, but slightly more readable.

no objection from my neighbors either...
2005-11-02 20:30:12 +00:00
espie
7dd96b3b55 * move the dependency computation out of PKG_ARGS, so that we can check
for errors (and get rid of _NODEPS since it's not needed any more)
* set check  to Failed in *libresolve_fragment, so that we can test
for it and report properly.

guys here have no objection...
2005-11-02 20:28:11 +00:00
espie
7cd73e7f11 complain when dependent packages are not found, and stripping won't happen
correctly...
2005-11-02 18:58:44 +00:00
wilfried
843e07f296 Encouraging use of USE_LIBTOOL=Yes, ok espie@ 2005-11-02 17:39:06 +00:00
espie
e95b44ceed fix weird recursion lock issue... the way the rest of the file deals with
them.

`looks much cleaner to me and this one I understand' sturm@
2005-11-01 20:39:00 +00:00
pvalchev
536f4593db minor fix; 10x jlouis@mongers.org 2005-11-01 16:33:14 +00:00
espie
76e7aa6a03 set PACKAGING before computing RUN and LIB_DEPENDS, so that the needed
packages are built JIT.

noticed by sturm@
2005-11-01 14:15:01 +00:00
espie
ea90a42164 new target, show-required-by, that can give you a full list of everything
a port will affect.

name by mbalmer@
2005-11-01 14:04:21 +00:00
espie
2317992794 add comment so that we can grep for _internal-XXX-depends targets. 2005-11-01 13:56:30 +00:00