Commit Graph

649 Commits

Author SHA1 Message Date
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
espie
9ab9eeaa46 prefer pkg_create -B 2004-08-10 13:48:21 +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
0245da577b pass SHARED_ONLY to update-plist 2004-08-03 11:16:30 +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
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
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
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
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
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
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
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
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