espie
23741bf7ee
unless style is old, also set mandir and infodir explicitly, to cope with
...
recent gnu standards as noticed by naddy@.
2006-07-17 22:08:41 +00:00
steven
47dcb91917
remove MASTER_SITE_LOCAL which is no longer used.
...
ok espie@
2006-07-17 16:23:14 +00:00
steven
fcb3f32809
peek only in real ftp sites.
...
ok espie@
2006-07-13 14:43:25 +00:00
espie
f1676ec4d2
move modules reading ways higher, after checking it doesn't affect a bulk
...
build.
2006-07-11 06:34:32 +00:00
espie
15cecfd126
+CONFIGURE_ARGS
2006-07-10 10:52:08 +00:00
espie
413a0547de
add AUTOCONF/AUTOMAKE_VERSION
2006-07-10 10:35:50 +00:00
espie
aebeb16b58
put the guessdirs loop at the shell level so that it's evaluated later.
2006-07-10 10:12:05 +00:00
espie
8dd6a28c5f
also dump SUPDISTFILES
...
do not store empty values which are always defined, but can be empty.
2006-07-09 11:23:50 +00:00
espie
dd168a8754
introspection mechanism: dump-vars
2006-07-09 11:10:16 +00:00
espie
ee210c3e4e
move REPORT_PROBLEM to pkgpath.mk so that we can use it from bsd.port.mk
...
as well.
Add the target to the default problem reporter.
Report problems while building dependencies.
2006-07-08 09:20:30 +00:00
espie
82ba15cff7
convenience target for porters: peek-ftp connects to the first MASTER_SITES
...
and leaves you at the ftp prompt in the directory where stuff is fetched
from.
(I find myself using this quite often to figure out which version of stuff
exists, especially for CPAN).
2006-07-01 11:08:05 +00:00
espie
c78f7b5f9c
check on PKGPATH, more reliable than module name (in case someone
...
decides to create a p5-Module-Build-Something).
2006-06-25 09:45:05 +00:00
sturm
a1fe8792f9
protect patch targets with systrace as well
...
no objection from espie, looks good steven
2006-06-18 10:10:04 +00:00
sturm
8809fa14f4
substitute variables in a port's systrace.filter file as well
2006-06-16 18:48:58 +00:00
espie
2a1183f992
fed up of merge errors in dependency makefiles, output a decent error
...
message if cd dir && make print-pkgname does not work.
2006-06-04 14:56:10 +00:00
espie
c4e1612c34
fix size test finally (|| > |)
...
check that MULTI_PACKAGES do begin with -.
2006-03-24 19:28:13 +00:00
steven
b258872e48
fix typo in target name.
...
ok espie@
2006-02-06 22:01:48 +00:00
jolan
aef34ea50d
pass -o to unzip so it doesn't prompt when overwriting a file
...
ok espie@
2006-02-06 17:09:08 +00:00
espie
c3796c9e9a
prepare to pass stuff over to libtool.
2006-01-05 19:33:17 +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
sturm
7caae7d3d8
indentation
2005-12-24 20:11:03 +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
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
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
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
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
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
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
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
espie
8089498934
don't bother building default package, just ask print-plist-contents
...
for its contents.
avoid dirname in print-package-signature, use sh built-ins.
2005-10-10 19:20:00 +00:00
bernd
3a943e5e5d
output cosmetics
...
ok espie@
2005-10-10 16:07:33 +00:00
espie
d939b31653
need an extra indirection: the complete wantlib cookie can easily grow
...
over 256 characters, so we create an extra file for each wantlib, and
depend on it. That way the full _DEPlibs_COOKIE is regenerated (and retested)
each time WANTLIB changes.
2005-10-10 00:29:38 +00:00
espie
9fa7c10c20
remove intervening comma, so that stuff works.
2005-10-09 23:22:41 +00:00
espie
9d61eb771b
better semantics for library checking: just check the pkgspec for recursive
...
building, and then do one big check of all specs in LIB_DEPENDS and
wantlib. This should be faster and more accurate.
2005-10-09 13:31:50 +00:00