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
espie
43ed8edb9c
tweak the way library dependencies are resolved to speed them up.
...
Now, resolve-lib can take a big list of libraries with full paths,
and it can solve a big list of spec at once.
Basically, we move most of the parsing of spec paths into resolve-lib.
Since print-package-signature does build a full list of libs, let's solve
it all at once, instead of invoking a costly perl script repeatedly.
Add some caching possibilities for out-of-date. Specifically:
- store libraries for each package under the directory _PORT_LIBS_CACHE
- use the dependency cache _DEPENDS_FILE to avoid recreating dependency
chains, add a new file _DEPENDS_CACHE that will accumulate all dependencies,
and extract these with a simple script extract-dependencies.
Use echo to build libraries lists instead of ls, that's a bit simpler...
Some more clean-up will happen: it's probably simpler to parse libspecs
at once, extract the libraries needed and go fetch the corresponding libraries
just once.
2005-10-09 12:01:22 +00:00
espie
21c89e0e8f
overeager code cloning.
...
noticed by matthieu@/mbalmer@
2005-10-07 21:08:16 +00:00
espie
ef74c2c91e
need to list static libraries as well.
...
problem reported by bernd@
2005-09-25 09:43:09 +00:00
espie
6d9e12644b
tweak _print-package-args a bit.
...
Add internal NODEPS to turn off computing dependencies.
Write code similar to _print-package-args that is strictly ports based,
and hence really walks the wantlibs, and needs the pkg_create stuff
to get at the real ports contents.
Recode print-package-signature to refer to the ports tree contents
exclusively (pkg_info -S for the package).
Thx bernd@ for trying that out.
This should make for a slow, but accurate, out-of-date printer.
2005-09-24 19:46:56 +00:00
espie
202146d6ab
add print-package-signature
...
suggested by bernd@
2005-09-23 08:26:21 +00:00
espie
ebfaf60b88
simplify locks
2005-09-18 12:20:00 +00:00
espie
08e7b4c048
oops
2005-09-17 14:47:40 +00:00
espie
0031945c6e
Fix a buglet in bsd.port.mk where the PSEUDO_FLAVORS get encoded into
...
the FULLPKGPATH, thus providing changes to packing-lists which shouldn't
happen, and making update more difficult.
Accordingly, bump all pkgnames with PSEUDO_FLAVORS, and provide an
update @pkgpath for the bug for most of them (left out the ones with 3
or 4 pseudo flavors for space constraints...)
2005-09-16 09:51:25 +00:00
naddy
07871fe865
don't hardcode /usr/ports, use PORTSDIR; ok espie@
2005-09-10 18:07:47 +00:00
espie
9fc55bc3e6
clean-up register-plist logic, so that package is uniformously deleted
...
if a problem occurs.
2005-09-05 12:43:07 +00:00
espie
f7b78407d9
- new read-only variable, PKGNAMES.
...
- plist repository under PLIST_DB (optional).
- print-package-signatures shows what's used for signatures.
- make fetch shows full url you can copy/paste, simpler to look for typos
that way.
2005-09-04 22:32:37 +00:00
espie
f51beaa32e
distfiles with spaces ? wow...
2005-07-04 12:32:51 +00:00
espie
a0d8f99cb8
fix wc shit.
2005-06-27 12:48:56 +00:00
espie
559bf09e60
bigger threshold, some sourceforge mirrors have 20K of html error page.
2005-06-25 22:12:09 +00:00
espie
e5b301e189
zap small files whose sizes don't match, so the next mirror gets a chance
...
to go at it.
2005-06-25 22:01:46 +00:00
espie
7459b5bd67
restore library check into working order, ouch...
2005-06-25 10:51:32 +00:00
espie
339259cda0
remove -v in pkg_create(1) since pkg_create is going to become
...
much more verbose.
2005-06-25 10:40:50 +00:00
kurt
7ddb5ebf43
- add java MODULE to handle some commmon java port issues
...
- Based on the MODJAVA_VER, MODJAVA_JRERUN, NO_BUILD
and MACHINE_ARCH, the following things will be setup:
ONLY_FOR_ARCHS if not already set.
BUILD_DEPENDS on a jdk (native preferred).
JAVA_HOME to pass on to the port build.
RUN_DEPENDS for all jdk's and jre's that can run the port.
Review and feedback nikolay@, ian@.
2005-06-17 14:59:27 +00:00
alek
a130ae3cff
Add LIBTOOL to FAKE_FLAGS.
...
ok sturm@, espie@
2005-04-30 10:43:55 +00:00
espie
63ee44468c
missed test.
...
found out (more or less) by alek@.
2005-04-24 18:02:45 +00:00
espie
70fcebe40f
fiddle a bit with LD_LIBRARY_PATH: allow mixed fake/non-fake.
...
and create a _set_ld_library_path internal, so that bzip2 can be installed
only as a dependency.
2005-04-23 15:24:49 +00:00
espie
b6e98c5d70
fake case is special, directly check if the exact package is already installed
...
(avoid errors in multiple installs of the same dependency)
2005-04-23 15:12:19 +00:00
espie
8ae9d49345
allows a mode FAKE=all where BUILD_DEPENDS get also installed under
...
DEPDIR.
2005-04-23 14:31:38 +00:00
alek
c798bedc18
Do not check if SEPARATE_BUILD is defined but check what is its value
...
(defaults to No)
help & blessing from espie@, ok naddy@
2005-04-21 01:44:50 +00:00
espie
d9e6141a26
need to use a default target for fake=lib. gettext->=0.10.38 is not an
...
installable package name...
2005-04-19 09:21:42 +00:00
espie
26181a5f81
add REPORT_PROBLEM_LOGFILE, okay naddy@
2005-04-19 08:55:32 +00:00
espie
5e16b36748
look in the correct place if FAKE=lib
...
found out by naddy while working on xloadimage.
2005-04-17 22:51:16 +00:00
espie
b84fda0759
use both DEPBASE and LOCALBASE in PORTSPATH since we don't fake everything yet.
2005-04-17 18:31:58 +00:00
espie
5d3475bf46
move BUILD_DEPENDS outside of FAKE=lib scope, because it's really hard
...
to convince autoconf to work...
Also, ln -sf -> ln -sfh
2005-04-17 13:21:14 +00:00
espie
fc68a339fe
Add DEPBASE for dependencies.
...
Add USE_FAKE_LIB to turn on FAKE=LIB for ports that have been converted.
Tweak buil/lib depends and LD_LIBRARY_PATH in FAKE=lib case.
2005-04-17 10:10:07 +00:00
espie
9351cdeeb5
more kde interdependencies handling. Checked through a full build.
2005-04-09 10:48:31 +00:00
jolan
3c4985fe84
add humppa64 to lp64_archs
2005-04-01 15:55:36 +00:00
espie
32484a6016
let RUN_DEPENDS register itself in built package as stem-* if no pkgspec
...
has been requested.
Simplifies package updates a great deal, needs porters to be more careful.
okay naddy@
2005-03-30 08:14:01 +00:00
espie
418b297b54
allow WANTLIB to be / something, to cater to expat.
...
okay pvalchev@
2005-03-13 22:51:34 +00:00
espie
fd12478f2d
move targets around so they get handled gracefully in BROKEN case.
2005-03-09 15:40:37 +00:00
espie
78d9a2035a
Finally rephrase what's going on.
2005-03-09 15:21:07 +00:00
espie
8542abc56d
inform newlib-depends-check about the repository location
...
(needs RECENT newlib-depends-check).
2005-03-06 12:03:58 +00:00
pvalchev
5b72450bce
close quote; janjaap@stack.nl
2005-02-25 23:08:16 +00:00
espie
124935d487
switch to gcc 3.3.5
2005-02-20 01:22:52 +00:00
espie
280a05428f
framework to save configuration caches, for auditing and updating of
...
config.site.
2005-02-07 12:22:28 +00:00
espie
6d2313be65
flag for a.out
2005-01-31 10:12:24 +00:00
espie
a6de3cd707
remove source-based lib-depends-check. We always check the package now.
2005-01-31 09:58:22 +00:00
espie
36eae15c85
switch to package checking for newlib-depends.
...
let force update force depends as well.
2005-01-31 09:52:53 +00:00
espie
3edf27f16d
pkg_add -f -> pkg_add -F prior to killing the old option.
2005-01-13 11:54:55 +00:00
sturm
89b57603d8
some automake bits
...
ok espie@
2005-01-11 07:14:36 +00:00
espie
22ca2cf370
switch to right directory before checking.
2005-01-06 19:30:34 +00:00
espie
4c869b16b9
let fetch check the size of the retrieved file, if this is recorded in
...
distinfo.
This allows ftp to skip files which return 404 error files and other
such nonsense...
(note that if you want to really grab a file with the wrong size, you
can just say CHECKSUM_FILE=/dev/null)
with input from by xsa, sturm, ian..
2005-01-04 20:44:45 +00:00
couderc
65e3096063
MODULES is prefered to CONFIGURE_SCRIPT, undo last changes, asked by espie@
2005-01-02 23:33:09 +00:00
couderc
0b2a9ae196
add pmk config style support.
2005-01-02 20:54:02 +00:00
naddy
63a801eb39
use double quotes to permit expansion of shell variable in message
2004-12-29 14:30:53 +00:00
espie
b8fb5135f6
forgot clean=force, reminded by msf.
2004-12-21 20:56:54 +00:00
espie
af5c4c5437
verify the spelling of clean options.
2004-12-19 12:20:12 +00:00
espie
7933d3b132
must run objdump through sudo as well...
2004-11-28 11:44:00 +00:00
espie
8ea77ff002
kill code that is no longer used.
2004-11-27 14:07:19 +00:00
espie
a60ebd295b
still need to look in the default package for multi-package cases.
...
use -K that we now have...
2004-11-27 12:36:14 +00:00
espie
a9268b2f4a
switch to using @wantlib and @depends, say byebye to libdepends and newdepends.
...
(this will break your machine if you don't have reasonably current pkg_add)
2004-11-27 09:59:35 +00:00
espie
48aa65b693
ready-to-go switch to @wantlib/@depend
2004-11-21 15:59:25 +00:00
espie
45ac58f0f3
newlib-depends-check recurses as well
2004-11-21 11:28:31 +00:00
espie
01ac39ce91
newlib-depends-check that takes the semantics-to-be into account.
2004-11-21 11:26:22 +00:00
espie
5982ed59bb
new support routine _print-package-args, that prints new-style package
...
dependencies.
_syslib_resolve_fragment that can resolve system libs.
2004-11-21 10:43:48 +00:00
sturm
ec0870206a
use TRUEPREFIX locally
...
sort SYSTRACE_SUBST_VARS while here
2004-11-19 22:12:28 +00:00
espie
723c37630f
can't depend on WRKDIR unconditionally, throws update off when
...
UPDATE_COOKIES_DIR is set.
2004-11-17 11:09:44 +00:00
espie
3979adeb86
add missing stuff around update so that BULK works for it too.
2004-11-17 10:38:37 +00:00
espie
65134e9f73
only pass FULLPKGPATH, PERMIT_PACKAGE_CDROM, PERMIT_PACKAGE_FTP to
...
pkg_create, and quote the later properly...
2004-11-16 02:08:59 +00:00
espie
1b8f6e0f0c
Pass PERMIT_PACKAGE_CDROM, PERMIT_PACKAGE_FTP, FULLPKGPATH as parameters
...
to pkg_create... This should allow the automatic generation of ExtraInfo
without needing to do it manually.
2004-11-15 16:31:28 +00:00
espie
e39dc1ae33
mark update as .PHONY target, necessary with UPDATE_COOKIES_DIR ;-)
2004-11-15 13:53:43 +00:00
espie
147d3cf94a
industrial-strength updates:
...
- separate UPDATE_COOKIES_DIR, unless set to empty.
Makes for easier management.
- FORCE_UPDATE variable, that makes certain packages are updated when
a dependency is run, and that forces the replacement of packages that are
already there. Still uses the update cookie, so that this update occurs
just once unless you wipe out yur UPDATE_COOKIES_DIR (which justifies putting
update cookies in a separate directory).
2004-11-15 13:52:03 +00:00
espie
54a74ef157
use pkg_info -q -e instead of pkg dependencies check now that it does
...
what it should.
Use the exact same rules for checking LIB_DEPENDS that will later be used
to build the package itself, e.g., add the pkg dependency check.
2004-11-15 11:49:05 +00:00
espie
d9536a7ac4
rename _UPDATE_COOKIE to always be defined (wilfried) and to have a name
...
changing when the FULLPKGNAME changes.
2004-11-10 23:40:42 +00:00
espie
f2ae2fd4b7
allows it to recurse.
2004-11-10 10:23:42 +00:00
espie
eb3edb001b
Add a simple update target, that relies on pkg_info -e pkgpath to know
...
if there is something to update...
2004-11-10 10:16:41 +00:00
pvalchev
68c791bb78
add mips64 to LP64_ARCHS
2004-10-26 06:16:53 +00:00
espie
8c4d857d3d
allow us to specialize DEPENDS_TARGET depending on whether this is
...
a LIB/RUN/BUILD/REGRESS_DEPENDS.
2004-10-23 10:02:51 +00:00
espie
97804eddfe
switch FAKE's test from == "yes" to != "no"
2004-10-23 09:58:13 +00:00
robert
cba5c3b7b6
Missing support for a module should be a fatal error. So don't continue
...
the build if you miss a module.
ok espie@
2004-10-18 15:17:17 +00:00
espie
1bbdaa1cbd
UNMESSAGE
2004-10-11 10:32:04 +00:00
sturm
8511b00703
add TRUEPREFIX to SYSTRACE_SUBST_VARS
2004-10-08 19:58:30 +00:00
espie
3b550a0182
config.site support
2004-10-03 09:51:21 +00:00
sturm
82dfd19593
add 'patch' to handled targets
2004-09-26 09:59:14 +00:00
pvalchev
be6617f5f7
change CDROM_SITE to default to empty; ok espie
2004-09-19 09:00:15 +00:00
espie
784afb2649
kill old check-libs script, after checking the new one handles a.out
...
just fine.
Kill old subst that's not used anymore as well.
2004-09-18 13:48:43 +00:00
espie
0046b33eec
Strip spaces from CFLAGS everywhere.
...
Pass off -a to pkg_add if used to solve dependencies.
2004-09-18 13:45:23 +00:00
espie
b14b123e17
WRKCONF?=${WRKBUILD}
2004-09-15 18:58:49 +00:00
espie
613aa9a6c4
remove all SED_PLIST work, since pkg_create handles it now.
...
defines appropriate PKG_ARG arguments instead.
Move message to -M ${MESSAGE}.
2004-09-15 18:57:31 +00:00
espie
d67be4b0b9
remove trailing spaces from CFLAGS/CXXFLAGS, to please autoconf...
2004-09-14 23:07:20 +00:00
espie
907ba20320
explicitly forbid flavors starting with [0-9].
2004-09-14 23:06:02 +00:00
brad
2545045f21
Side-effect of BULK=Yes: WRKDIR gets wiped out before the depend cookie
...
is written.
So, we simply recreate WRKDIR manually.
This is a kluge, but it should do the trick.
From espie@
ok pvalchev@ espie@
2004-08-13 23:28:40 +00:00
espie
9560823362
set _MASTER_LOCK in the correct location.
...
fix postgresql locking *for good*.
okay pvalchev@
2004-08-12 19:02:45 +00:00
espie
a8174b7541
obvious mistake, FULLPKGPATH for recursive clean, duh!
...
problem found by brad@
2004-08-11 22:42:47 +00:00
espie
fdb200935c
fix postgresql lock issue: in recursive locking, don't relock the same
...
port.
okay pvalchev@
2004-08-11 22:25:23 +00:00
xsa
a3237a6832
prepare for new-style MODULES. ok sturm@.
2004-08-10 20:39:37 +00:00
espie
9ab9eeaa46
prefer pkg_create -B
2004-08-10 13:48:21 +00:00
xsa
9d761fa2f0
prepare for new-style MODULES; ok dons@.
2004-08-10 08:14:34 +00:00
xsa
70c60882e0
prepare for new-style MODULES; ok couderc@.
2004-08-09 19:54:20 +00:00
espie
ed01c25be0
lock distfile as distfile.dist, since some ports have FULLPKGPATH=DISTFILE.
2004-08-08 23:14:03 +00:00
espie
10083d7dfb
run update-plist as root, to catch all files.
...
pass OWNER/GROUP around and setuid/gid to them before writing
files to keep ownership.
2004-08-08 16:43:15 +00:00
espie
413404d080
tag updating-plist case for logging.
2004-08-06 11:31:22 +00:00
espie
0e976d1198
almost completely new make-plist.
...
The new version uses the pkg_* infrastructure to read existing plists
and produced new plists.
Lots and lots of improvements:
- copy most stuff over from original lists correctly. For instance,
attach @exec/@unexec/@sample to other files and copy them in the right
location.
- generic post-treatment of @commnent, using stringize(), so that most
things can be commented out and will stay commented out.
- parse all packing-lists using relevant PREFIXes. Grab PFRAG.xx if %xx%
is seen.
- walk through all of fake, and distpatch files according to PREFIXes
if nothing else works.
- identifies man, libraries, info, handling symlink correctly.
2004-08-05 23:43:45 +00:00
espie
879b5113b9
tag error messages with PKGPATH, as they get hard to decipher
...
when walking the tree.
2004-08-03 21:18:24 +00:00
espie
dbdb2eb38e
Move SHARED_ONLY default definition down so that it can be inherited
...
from Makefile.inc/MODULES.
2004-08-03 19:30:25 +00:00
espie
30369d755e
pass TRUEPREFIX around, don't pass LDCONFIG.
2004-08-03 16:18:51 +00:00
espie
5318b3b20e
MODULES=www/php4/pear
...
okay maintainer(s)
2004-08-03 12:54:39 +00:00
xsa
7937d3ebe8
prepare for MODULES= www/zope
2004-08-03 12:08:10 +00:00
espie
0245da577b
pass SHARED_ONLY to update-plist
2004-08-03 11:16:30 +00:00
espie
4c68b1d0da
Prepare for MODULES=x11/qt*
2004-08-03 09:18:38 +00:00
espie
faa7c7b381
prepare iconv for MODULES=converters/libiconv
2004-08-03 09:13:29 +00:00
espie
814118f71b
prepare gettext for MODULES=devel/gettext.
2004-08-03 09:10:01 +00:00
espie
fd75f4db4c
Introduce SHARED_ONLY variable, as a more specific semantic way
...
to say port works only with shared libraries.
Mostly useful for `update-plist' which will recurse differently if
LIB_DEPENDS are only BUILD_DEPENDS or if they becomes RUN_DEPENDS.
okay pvalchev@
2004-08-03 08:04:02 +00:00
espie
d9fd9934ee
Allow full path for modules, like this:
...
MODULES=devel/gettext
so that:
- stubs in infrastructure/ are no longer needed.
- PORTSDIR_PATH is taken into account.
This will look for ${PORTSDIR}/devel/gettext/gettext.port.mk
okay naddy@
2004-08-02 21:59:53 +00:00
espie
daf412deff
Always define NO_SHARED_LIBS.
2004-08-02 13:01:52 +00:00
espie
75994eff47
store PKGPATH instead of self name in dependencies. pkg_add handles
...
recursion itself, so it does not need the self name.
Packages created require -current pkg_* tools to work !
2004-08-02 12:10:17 +00:00
espie
befcaa1be4
tag cache entries with b(uild), r(un), a(ll).
...
Fixes a rare logic error, where recursive build depends would not trigger
all depends because an existing build depends was taken instead.
2004-07-24 13:53:12 +00:00
espie
83b79dec6d
clean=depends is naturally recursive, make a little dance so that it
...
goes to _internal-clean for itself.
found out by brad@
2004-07-21 14:45:33 +00:00
espie
29272c577e
since _solve-package-depends no longer recurses, it does not need a
...
cache file.
2004-07-20 14:23:32 +00:00
espie
5bf197bb2f
REORDER_DEPENDENCY missing a silent @.
2004-07-18 22:45:14 +00:00
espie
0e89359ef4
Lock infrastructure for the ports tree.
...
If LOCK_CMD, UNLOCK_CMD and LOCK_DIR are defined, those are used to
perform `big-lock' style locking on top-level targets, such as
extract, patch, build.
The internals of the ports tree do not use any finer grained locking.
Those top-level targets now redirect to _internal-targets, without
any behavioral change.
Any dependency computation will recurse to another directory, and
invoke a top-level target, thus triggering the locking of the dependency.
All locking is done using FULLPKGNAME, except for fetch with uses
the DISTFILES names for independent files.
If no locking is desired, the top-level targets simply redirect to
the _internal-targets. The cost is close to zero: make just needs to
handle an extra ~20 phony targets.
Much testing and approval by brad@, naddy@, pval@, fries@ and other
people. Thanks to niklas@ for some useful discussion.
2004-07-18 22:44:36 +00:00
espie
571e0e10d7
move everything to _fetch-makefile, so that __FETCH_ALL can put all
...
file names where it should.
noticed by jolan@, okay sturm@
2004-07-12 08:45:32 +00:00
espie
2df6d8519a
byebye IGNOREFILES
...
Okay naddy@
2004-07-11 20:44:33 +00:00
msf
754a71e108
perl modbuild should install the perl manpages into man/man3p and not
...
man/man3
2004-06-23 03:20:17 +00:00
sturm
4597750316
add _SYSTRACE_COOKIE to _ALL_COOKIES
...
ok espie@
2004-06-22 20:05:46 +00:00
espie
ee63e907a9
missing dependency
2004-06-22 16:09:05 +00:00
sturm
47cb6d0543
back out CFLAGS-honour-diff
...
MakeMaker might add important stuff to CCFLAGS, which we override
2004-06-08 20:28:19 +00:00
espie
f19cb223c7
move the automake inter-dependencies to another file.
...
checked by naddy@ on a full build.
idea okay'ed by naddy and pvalchev.
2004-06-06 11:49:08 +00:00
sturm
7057f0c410
honour CFLAGS in perl ports
2004-06-02 09:20:43 +00:00
jolan
e0768dec11
sort lp64_archs alphabetically, remove hppa from no_shared_archs
2004-06-01 21:06:29 +00:00
sturm
67a6ca5fda
honour TMPDIR and PKG_TMPDIR in systrace policies
...
prodded by jolan@
2004-05-31 12:27:07 +00:00
msf
975e0f0aac
infrastructure bits for p5-Module-Build
...
ok espie@ sturm@ pvalchev@
2004-05-26 11:20:26 +00:00
pvalchev
d570761068
provide LP64_ARCHS, a list of 64-bit architectures (to be used for
...
NOT_FOR_ARCHS and such); ok naddy
2004-05-16 23:14:44 +00:00
espie
77490d49eb
Run autoheader unless explicitly asked not to.
...
Did a full ports build before that, hoping I did not miss any.
2004-05-05 11:17:22 +00:00
sturm
4c3be953ba
allow for additional port specific systrace policies, needed to make
...
jdk-linux and netscape build with systrace
ok espie and others
2004-05-01 14:27:07 +00:00
espie
d9a7718501
move -e '//d' around so that it's more readable...
...
... and add the missing one that was noticed by jolan@ !
2004-04-19 18:57:54 +00:00
espie
c35cfd38ae
silence echo in recursive work, so that tsort no longer sees confusing
...
===> directory entries.
2004-04-07 13:06:33 +00:00
brad
e3df2e484a
AUTOCONF_NEW has been removed from all ports so remove this
...
knob.
ok naddy@
2004-03-03 01:17:39 +00:00
espie
100e4a7134
make autoheader a switch that's not systematically run...
...
thanks to mutant versions of autoconf-2.13.
2004-02-25 22:23:20 +00:00
espie
c48fae4abc
do a search and touch to prevent dratted automake Makefiles from rebuilding
...
anything after configure.
Side-effect: config.h.in is not rebuilt automatically at build time, we
invoke autoheader explicitly.
Change approved by naddy@ and brad@, for robustness, there may a few kinks
to fix...
2004-02-25 21:50:26 +00:00
espie
d229227ddf
always define DIST_SUBDIR, simplifies logic.
2004-02-07 22:36:13 +00:00
espie
2b162efb9b
move up pkgpath.mk, so that PKGPATH is available.
...
Use it to define per-PKGPATH user-settings: BULK, WRKOBJDIR, ...
2004-02-07 22:34:02 +00:00
espie
7a0db8de9e
always define WRKOBJDIR, FAKEOBJDIR (simpler logic).
...
change tests to !empty instead of defined.
Move BULK_TARGETS up with other user settings.
2004-02-07 22:18:49 +00:00
espie
ec41a84509
.if .if
...
.else .elif
. if --> .else
. else .endif
. endif
.endif
2004-02-07 22:14:21 +00:00
espie
ec7a491459
let show be a list of variables
2004-02-07 22:02:40 +00:00
brad
f52e305c05
take USE_GCC3 into consideration.
...
ok espie@
2004-02-02 10:39:49 +00:00
espie
1c19b2641b
better elf libs checker.
...
okay pvalchev@
2004-02-01 23:07:30 +00:00
espie
32f593bbc3
use -L if necessary.
2004-01-28 22:15:21 +00:00
espie
22a42aec05
slight semantic change in CDROM_SITE.
2004-01-28 22:13:40 +00:00
sturm
50b3ab6c55
remove "-f" from calls to pkg_delete, fixes "make uninstall"
...
ok espie@
2004-01-28 20:16:14 +00:00
espie
2715832200
tag packages with @arch
2004-01-22 21:28:49 +00:00
sturm
90c7e8a75e
make flavor PFRAGs SUBPACKAGE aware as described in bsd.port.mk(5)
...
from Kurt Miller <truk at optonline.net>
tested by naddy@, ok espie@
2004-01-20 17:42:12 +00:00
sturm
ad0e479a5b
allow for port specific additional systrace filter rules in
...
${.CURDIR}/systrace.filter
ok espie@
2004-01-18 07:52:49 +00:00
sturm
a47e8f6e71
let systrace log to stderr
2004-01-11 15:04:01 +00:00
espie
2d9e402c19
reorder the bottom part of bsd.port.mk so that all variable tweaks are
...
done before any target is evaluated. This makes sure a whole series
of bugs can't happen.
Tests and comments by naddy@ and sturm@
2004-01-11 00:49:01 +00:00
espie
14e1f01e2c
use .elif
2004-01-06 16:27:11 +00:00
espie
9a130269f5
move variables that only users can tweak, or that are constants, to
...
the front of bsd.port.mk.
This allows Makefile.inc and modules to use them more easily, and also
cleans up things slightly.
Also kill .include ${PORTSDIR}/../Makefile.inc (???)
2004-01-06 15:02:57 +00:00
sturm
0afcb3ce68
use WRKDIR instead of WRKOBJDIR for systrace, as the latter is not defined
...
unconditionally
found by Michael Coulter <mjc at bitz dot ca>
2004-01-04 09:07:19 +00:00