Commit Graph

670 Commits

Author SHA1 Message Date
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
espie
494fac294a Report files and directories installed in WRKINST outside of PREFIX,
usually a good indication the fake process is screwing up.
Okay naddy@
2003-12-26 00:26:01 +00:00
espie
ef26554b07 Use somewhat dirty trick.
Repairs mirror-maker for multiple MASTER_SITES.
Noticed by naddy@
2003-12-24 00:08:48 +00:00
espie
841eb86247 two
if cmd; then ;; else cmd2; fi  -> if ! cmd; then cmd2; fi
I missed
2003-12-16 19:05:23 +00:00
espie
318b72ffb1 Check for duplicates in mirror-maker entries, build Makefiles that won't
heap tons of warnings with gnu-make (and that will be slightly smaller as well).
2003-12-15 17:56:40 +00:00
espie
c3a877ce10 Kill the recursive part of package dependencies recording, since the
new pkg_add deals computes recursive dependencies on the fly.

okay naddy@
2003-12-11 08:55:24 +00:00
millert
8aa47fb2ef Don't prepend DESTDIR to paths when installing, perl > 5.8.0 deals
with DESTDIR automatically.  Note that you will need to update to
perl 5.8.2 in order to build perl modules as packages now.
OK pvalchev@
2003-12-03 03:47:07 +00:00
espie
fed09d5bcc zap some packing-lists sanity check. These are now donw by pkg_create
in a more precise and faster way.
2003-11-22 12:03:44 +00:00
espie
6817307ee5 set PACKAGING in RUN_DEPENDS, to avoid picking up bogus subpackages
dependencies.

Tests by sturm@, noticed by pval@
2003-09-28 10:57:01 +00:00
naddy
65d11563a5 * force uninstall in reinstall
* fix typo in clean=install handling

discussed with sturm@
2003-08-28 23:42:44 +00:00
naddy
56823d7f5d prevent leak of custom IFS value from shell fragment; ok sturm@ 2003-08-28 21:50:12 +00:00
sturm
5c1459beb1 don't try to fetch distfiles of ports marked FETCH_MANUALLY
ok naddy@
2003-08-28 16:19:00 +00:00
espie
31df7d5d6e Add FAKEOBJDIR support 2003-08-21 20:22:45 +00:00
espie
39171fc37f update .PHONY list to match reality. 2003-08-15 00:35:10 +00:00
espie
417fb59480 PORTSDIR_PATH ?= ${PORTSDIR}:${PORTSDIR}/mystuff support. 2003-08-15 00:05:41 +00:00
espie
6f7ee487d8 Use -S${WRKINST} for pkg_create.
YOU MUST HAVE A CURRENT pkg_create FOR THIS TO WORK !!!
2003-08-15 00:04:45 +00:00
naddy
d1e3b2b512 Fix a typo that caused ports marked with FETCH_MANUALLY always to be skipped
for BATCH=Yes.  Reported by Kurt Miller <truk@optonline.net>.
2003-08-14 15:29:20 +00:00
espie
79dfad4929 missed two readme, thanks Nick. 2003-08-13 19:41:01 +00:00
espie
08fa6014ce advisory license-check: warns if a package is apparently built from bad
sources.  Will returns some false positives.
2003-08-11 20:10:41 +00:00
espie
5018e3388c make sure the site selector has an entry for each :<digit>, ensuring
incorrect entries will be spotted.
2003-08-11 20:07:59 +00:00
sturm
9dca62c74b Unconditionally use do-extract and create that target in case it doesn't
exist with the old, regular EXTRACT_CASES stuff. This allows for systrace
protected extracts.

espie@ ok
2003-08-11 18:42:07 +00:00
espie
c75167d854 Fix INDEX building. Trickery that allows ECHO_MSG='echo 1>&2' to work again. 2003-08-08 23:56:13 +00:00
espie
7e71f84147 kill .USE, use common shell code instead. 2003-08-04 15:05:24 +00:00
espie
c07bda5739 oops, make sure SKIPPED is set immediately, otherwise it won't show. 2003-08-04 14:54:29 +00:00
espie
4fb6f7fb2a smart recursion over clean depends. 2003-08-04 14:45:31 +00:00
espie
63adb1a923 let *-dir-depends recurse globally, with one single file. 2003-08-04 14:37:48 +00:00
espie
b8e4c98450 move _depfile_fragment to pkgpath.mk so that it can be reused more widely.
Fix the logic so that the file is only removed where it is set.
Add some checks to *-dir-depends for more `global situations'.
2003-08-04 14:37:10 +00:00
espie
df3c9aa7ce zap old targets and add new ones. 2003-08-04 14:16:53 +00:00
espie
acc638c113 Use trap to remove _DEPENDS_FILE, so that it does not stay around.
Since all the code is now in one chunk, put it into _depfile_fragment.
2003-08-04 14:00:46 +00:00
espie
1ee70309ea oops 2003-08-04 13:31:26 +00:00
espie
0f9ceae51e kill old readme (useless distinction).
Let make clean=readmes work.
2003-08-04 13:25:36 +00:00
espie
89a58c808d Fix SKIPDIR handling.
Make various variables not public.
Remove PORTSDIR definition, it's alredy in /usr/share/mk.
2003-08-02 09:58:11 +00:00
espie
9a700ec7a5 put _flavor_fragment into a separate file, that's included from both
bsd.port.mk and bsd.port.subdir.mk. Make sure flavors are properly
separated.

Change the way bsd.port.subdir.mk works, slightly: always set full directories.
- SKIPDIR with full paths will work.
- all dirs are displayed as full package specs.

Generate complete html files.
2003-08-02 09:53:27 +00:00
espie
2baedf3e1e minor fixes to readme 2003-08-01 09:07:06 +00:00
espie
a46196fdcf if cmd; then : else -> if ! cmd; then
suggested by naddy@
2003-08-01 09:02:42 +00:00
espie
9035370921 show libraries BEFORE testing that we already recursed in that dir.
Problem found by marc_m@.
2003-08-01 08:29:43 +00:00
espie
ff6ba5bcaa too eager in unsetting FLAVOR, problem found by jolan@ 2003-08-01 08:20:43 +00:00
espie
3e6da56495 get thru _clean to handle clean, since it's set in stone.
Add work if only depends is set.
problem found by naddy@
2003-08-01 08:07:30 +00:00
espie
be5adfc375 pull a few more targets out of user-visible space.
Sprinkle a few more cd ${.CURDIR} && exec
move distclean into convenience targets area.
2003-07-30 19:59:48 +00:00
espie
8d30a050aa redo the list of phony targets, in alphabetical order 2003-07-30 19:51:11 +00:00
espie
39307efa3b clean-up and speed-up dependency generation.
thanks to nikolay, naddy, and others for comments.
2003-07-30 19:31:31 +00:00
espie
d9883c9976 quote pkg to protect wildcards against shell (e.g., bzip2-*).
It didn't use to happen, but I just had bzip2-* matching against
bzip2-1.0.2.html
2003-07-30 10:40:43 +00:00
espie
d426e175d7 restore install 2003-07-29 22:27:09 +00:00