Commit Graph

180 Commits

Author SHA1 Message Date
espie
3374f661ba Prefer sh builtins to a dubious `optimization' 1999-11-29 23:14:03 +00:00
espie
ba2e23f4fb Vi commodity fix: default sw=4 to the same as ts while we're at it. 1999-11-28 14:14:58 +00:00
espie
409c763512 Kill opsys cruft. 1999-11-28 14:12:24 +00:00
espie
a4e97990a9 Uniformize: everything else uses :L. 1999-11-27 13:17:13 +00:00
espie
3431057fa4 Oops. 1999-11-24 01:18:57 +00:00
espie
5643e9ca49 Typo
Surprising nobody saw it before...
1999-11-24 00:56:52 +00:00
espie
498376f7a5 Kill some extra shells that are not needed.
Note that

if ! (cmd1 && cmd2) then
cmd
fi

can be replaced with

if cmd1 && cmd2 then :
else
cmd
fi
1999-11-23 15:06:14 +00:00
espie
5642444dae Use echo directly, except where ECHO_MSG makes sense.
Clean up error conditions somewhat.
1999-11-22 23:44:01 +00:00
espie
e0f299c92c Robust subdir substitution.
dugsong@ agrees that @ is a better choice.
1999-11-22 20:40:53 +00:00
espie
aaa04faba2 Simplify make fetch-list by using _ALWAYS_DEP and friends.
Remove some extraneous subshells.
Remove unwanted variables.
1999-11-22 20:37:04 +00:00
espie
5e1ecf9a5e Simplify CATPAGES 1999-11-22 20:34:14 +00:00
espie
dc7126a53b Typo 1999-11-21 16:18:30 +00:00
espie
5f45a616e7 Revert unwanted commit... 1999-11-20 17:56:57 +00:00
espie
211653ece7 Blast DEPENDS_TMP .USE macro out of existence.
The problem with .USE macros is that they should be constant...
If they do depend on the target being made, they will invariably use
.if make(TARGET) tests.   But this is a bad idea, as then `TARGET' can't
be used as a true dependency, since it's not being made then...
So instead, one would have to remember to fork another make TARGET to
ensure the .USE macro is executed correctly... This is slow, and
error-prone.
1999-11-20 17:54:09 +00:00
espie
dd10aadc45 Fix recursive dependency computation. 1999-11-15 18:37:58 +00:00
espie
f8011ef237 - introduce some internal variables to help recursive dependencies targets
be readable.
- kill some usage of ${ECHO} and ${TR} that is nonsense... there's no
reason to tweak those.

rohee@ agrees...
1999-11-10 13:46:40 +00:00
espie
987b69ae61 _VARIABLES are off-limit to individual ports.
Say so, explicitly.
1999-11-05 22:44:34 +00:00
espie
3b0d6e7b65 - OPSYS is OpenBSD, no need to fire uname.
- Write .PHONY targets explicitly.
1999-10-29 20:28:33 +00:00
espie
719753df9a Slight speed-up, trim external unames. 1999-10-27 12:48:40 +00:00
espie
f0d6e985c6 Document what currently exists 1999-10-26 15:38:06 +00:00
espie
577a67662a use tar's q flag for speed 1999-10-26 15:37:42 +00:00
espie
c20b543b86 Fix typo.
No port subdir overrides those targets yet, but this wouldn't have worked
anyway.
1999-10-26 14:50:05 +00:00
espie
0f1986d4a9 Fix a reeeally old buglet.
make has been passing around its flags in MAKEFLAGS since
at least 1996... so passing them explicitly around means we
duplicate them.

This avoids the make -k -k -k -k -k -k -k -k -k   syndrome
that turans@ has noticed
1999-10-08 11:38:05 +00:00
espie
5dc30c71db Tweak the packaging slightly 1999-10-07 14:22:36 +00:00
brad
c863ae39aa clarify usage of USE_AUTOCONF/GNU_CONFIGURE/HAS_CONFIGURE 1999-10-05 00:00:38 +00:00
espie
50a55ee199 Name says it all 1999-10-01 22:11:06 +00:00
espie
84931ee9de - don't display `creating README.html for...', the subdir macros
already swamp us with information.
- perform the same optimization for README.html, namely don't invoke
depends-list and package-depends if they're known not to be needed.
1999-09-30 21:07:09 +00:00
espie
b4e40a2276 print-depends-list and print-package-depends need similar checks, so
they must appear before the default depends targets are generated.
1999-09-30 17:34:22 +00:00
espie
33dc99a6a8 More correct check for describe target... .e.g., if we have special depends
target, shortcuts can't be taken.

This involves moving those default target around so that they appear AFTER
describe.

Note that these tests mean ANYTHING adding to *_DEPENDS *MUST* come before
the targets that test these for bsd.port.mk to work...
1999-09-30 17:28:31 +00:00
espie
d2a021e801 Replace some external sed with internal :C modifiers in the dependencies
computation, which is the place where lots of forking happened.

5% faster at make index.
1999-09-30 16:56:16 +00:00
espie
4e966a4c4e Slightly better use of _DEPEND_ECHO 1999-09-30 16:35:40 +00:00
espie
f150f37eb3 Common case is for ports not to have dependencies.
The `pname hack' already catered to some of that (only computing the
package name if dependencies exist)

This removes the hack and simply optimize dependency computation out of
existence if it's not needed.

Improves make index time by >15%.
1999-09-30 16:24:47 +00:00
espie
cf61e9d7a7 Add packages by popular and godly demand.
Ditch wget, as gimp got rid of it.
1999-09-28 21:55:25 +00:00
espie
555a809e8c Bug fixed:
- comments recognized.
- standard echo name name
for tsort to work for packages without dependencies...
1999-09-28 21:54:25 +00:00
brad
197af2b33e re-add devel/mm; requested by theo@, msg from turan@ 1999-09-27 01:46:30 +00:00
brad
4c8bfcd5cf remove devel/mm again 1999-09-27 00:25:51 +00:00
espie
d486876c6f Buglet, reversed default for CLEANDEPENDS 1999-09-26 22:20:46 +00:00
espie
91f5ae3fcb Work for flavored packages as well 1999-09-26 14:00:53 +00:00
turan
a2a36538dc id tage + devel/mm 1999-09-26 13:19:00 +00:00
espie
26f9340dd0 /usr/bin/fetch is long gone, long live ftp 1999-09-26 10:51:34 +00:00
espie
1107b6e788 Add multiple MASTER_SITES/PATCH_SITES 1999-09-26 10:50:07 +00:00
espie
be8dda1d87 ftp sites configuration now live in network.conf 1999-09-26 10:48:47 +00:00
espie
1bd0c1ce72 make now can lowercase/uppercase variables.
Use it.

NOTE: YOU MUST HAVE A CURRENT MAKE FOR THIS FILE TO WORK !!!
1999-09-26 10:47:30 +00:00
espie
24c12b656f NOCLEANDEPENDS=>CLEANDEPENDS, repair feature as well. 1999-09-26 10:45:35 +00:00
espie
586335a368 Split network configuration off bsd.port.mk for easy handling 1999-09-26 10:43:51 +00:00
espie
73ad5d7f6d Fix. 1999-09-26 09:36:33 +00:00
turan
55edbcba16 id tag plus add devel/mm 1999-09-25 22:56:42 +00:00
espie
d6872350a3 Use specific _DEPEND_ECHO to do dependencies, so that the trick of
changing echo to echo -n stays localized.

Found a bare sed -> SED.
1999-09-22 11:49:23 +00:00
espie
b2261b31d4 Rename _DISTDIR to FULLDISTDIR,
make it a supported variable

(so that I can clean up the few uses of underscore variables I've done...
which were wrong; underscore variables are plain unsupported interface
which may change)
1999-09-22 10:16:58 +00:00
brad
f266577194 - devel/mm should not be on this list, remove it
- mail/mm does not exist, correct it to mail/metamail
1999-09-21 19:16:02 +00:00