Commit Graph

570 Commits

Author SHA1 Message Date
mpech
7273a819d5 Add -V and -m to FETCH_CMD. Idea from form@.
espie@ ok
2002-05-20 05:18:18 +00:00
millert
48e962fab3 'perl -p' does not seem to behave as I expected; use -n instead.
Fixes a problem with the perl shar filter noticed by pval@
2002-05-19 18:51:21 +00:00
espie
5d9ca1a5bf say goodbye to MASTER_SITE_SUBDIR 2002-05-15 18:23:21 +00:00
espie
386b666f7c Add WWW: ${HOMEPAGE} at end of DESCR if not integrated already.
Mark MASTER_SITES_SUBDIR obsolete.

Promote a construct taken from NetBSD indeed.
2002-05-13 00:43:42 +00:00
millert
1cb6674558 Replace _SED_FIX_SHAR with _PERL_FIX_SHAR which can deal with shar
archives that don't start with "#!/bin/sh"; espie@ OK
2002-05-08 18:31:49 +00:00
espie
727512ae3c Run check of symlinks post-fake as root too. 2002-05-07 12:25:54 +00:00
espie
92531f47ed let build of dependencies that are not 'install' or 'package' happen
inside a subdirectory of the working directory, instead of elsewhere.
Allows packages BULK=Yes to work correctly, and increase reproducibility
of builds.

tested by naddy@ through several incarnations.

Ports that use patch/configure/build dependencies must be adjusted for this.
Pleasingly enough, the adjusted version is often simpler.

The change uses an internal _MASTER variable to recall the list of ports
built during dependencies, for less confusion.
2002-04-24 21:29:26 +00:00
espie
9acaeefab9 double typo. Let ftp-packages and cdrom-packages be normal BULK_TARGETS. 2002-04-17 16:53:13 +00:00
espie
5c6c013651 kill bulk-packages. Use `make package BULK=Yes' instead.
The main advantage is that workdirs are cleaned up as soon
as package is built (or installed), not later.
2002-04-17 15:58:48 +00:00
espie
2b7c75e086 Move perl manpages where they belong, from section 3 to section 3p.
NOTE THAT /usr/local/man/man3p MUST EXIST FOR THIS TO WORK.
UPDATE /etc/mtree/BSD.local.dist AND RUN IT ACCORDINGLY !!!
2002-04-16 19:25:01 +00:00
espie
83d65ba969 Add variable P5SITE/P5ARCH, this will make future plists more compact. 2002-04-16 17:35:21 +00:00
espie
375850a04e Allow for DIST_SUBDIR to be empty 2002-04-10 08:44:57 +00:00
espie
8033007ddd Add PROTECT_MOUNT_POINTS, to help package builders spot ports that write
outside of the fake area.
2002-04-09 23:55:11 +00:00
espie
6eefe19bd3 fix indentation 2002-04-09 22:52:24 +00:00
espie
74c923f4c6 USE_LIBTOOL, USE_GMAKE, USE_X11 should really be Yes/No variables. 2002-04-09 13:52:58 +00:00
espie
9ad648bfbe Let make update-plist look at dependent packages (LIB_DEPENDS and
RUN_DEPENDS) to create a more accurate list of @dirrm.

Minor negative side-effect: up-to-date dependent packages must be present
for this to work. Not a problem, since this is only used by maintainers.

This improves the quality of generated plists for large packages with lots
of dependencies by a large amount (e.g., kde)

reviewed by pval@
2002-04-03 15:00:30 +00:00
espie
ddaac90cab Add a target to check that makewhatis will build correct index entries. 2002-04-02 15:55:55 +00:00
espie
6d8b4f799b Kill files/md5 magic 2002-03-21 21:28:29 +00:00
espie
25c3970285 oops, bad exec in a combined command 2002-03-18 03:18:24 +00:00
espie
1c8f153f2e Tsk, tsk. 2002-03-18 02:00:00 +00:00
espie
8f76f3fa33 can't set both motif and lesstif flavors at once. 2002-03-18 01:55:40 +00:00
espie
b6d50a2151 Handle ERRORS+='Fatal:...' as well 2002-03-18 01:52:46 +00:00
couderc
69ab7a3aea Include ruby module 2002-03-17 22:34:16 +00:00
espie
b39f70427a move gnu dreck (autoconf, automake...) to gnu.port.mk 2002-03-16 01:09:23 +00:00
espie
6ac449705e disable automake unless explicitly asked for it.
Just did a package build without any apparent ill effect.
2002-03-16 00:54:37 +00:00
espie
4c2a3c3cf5 Add ${WRKDIR}/bin directory. 2002-03-15 13:29:13 +00:00
espie
9775511ef0 Add rules to create a list of homepage links for all ports. 2002-03-13 13:51:59 +00:00
brad
25908a510d mention tcsh 2002-03-10 06:02:16 +00:00
espie
1454c1191c link qt3 in. 2002-03-04 16:15:41 +00:00
espie
e0db562001 create package dependency list in a separate file.
This solves some nasty merged output problems and unconfuse redirection
issues.
2002-03-04 15:33:16 +00:00
brad
ba5772bc40 copy config.sub too 2002-03-03 01:23:23 +00:00
espie
633db19d5e Trip ports that mistakenly try to write into $HOME. 2002-03-02 13:38:25 +00:00
naddy
53bcf007ee fix REGRESS_IS_INTERACTIVE logic; ok espie@ 2002-03-01 00:49:03 +00:00
espie
5430bb6c97 don't redirect build output to /dev/null, redirect it to stderr instead,
so that building packages in the background to solve dependencies won't
break the plist it's building, but show up clearly still...
2002-02-27 00:25:35 +00:00
espie
effd838b50 hooks for switching to autoconf-2.52. 2001-12-31 09:38:54 +00:00
miod
9bc837b28e Repair mvme88k entry in NO_SHARED_ARCHS line. MACHINE_ARCH should be listed
there, not MACHINE....
2001-12-23 02:17:02 +00:00
brad
5bb9f47eb0 for the addsum target, check to see if files/md5 exists before trying to
move it that way we do not get an error message from mv if it does not
already exist.
--
Ok'd by: espie@
2001-12-15 18:10:36 +00:00
naddy
07838e78bd Fix the HTML markup produced by "make readmes" in /usr/ports.
Submitted by:	Nick Nauwelaerts <nick@wanadoo.be>
PR:		2233
2001-12-13 15:40:27 +00:00
naddy
b83c7c9e9f match the comment for the describe target with the actual code; ok espie@ 2001-11-22 16:02:26 +00:00
espie
47692f4664 Use perl lib depends checker, that parses the full gamut of libspecs. 2001-11-17 10:39:19 +00:00
espie
980f49d11e handles subcategories in package-links. Close PR 1731 2001-11-15 02:07:05 +00:00
espie
6221dfd2c5 typo 2001-11-13 12:52:22 +00:00
espie
863226a22f Basic new lib dependency code for package.
LIB_DEPENDS are no longer part of ALWAYS_DEPEND for the new-depends code,
but use their own code.

The code does scan the list of libraries for dependent packages, and insert
corresponding @libdepend lines into the resulting package. There are a few
important consequences:

- no libdepend lines are inserted if only a static library is found. So
RUN_DEPENDS are now needed to supplement LIB_DEPENDS if a package requires
another package for something that isn't a library.
- dependency checking for installed stuff can go one step further, since
we have the major/minor number of the libraries used for the build.
At the moment, pkg resolve dependencies does nothing smart with the
inserted libdepends, but it will (soon). In fact, for most libdepends, if
the major/minor scheme are correct, no check on the installed pkgspec ought
to be necessary... which is why the `default pkgspec to check' is pkg-* for
libraries.
- resolving recursive run dependencies need to go one step further: a
RUN_DEPENDS pkg may have some LIB_DEPENDS, and the RUN_DEPENDS pkg will be
needed to explicitly write the required information into the resulting
package... Hence the necessity of being able to tune the list of libraries
to ask the uninstalled package (and to make sure the uninstalled package
is built).

This is only preliminary work. Currently, this doesn't yield any real
benefits to the old approach, as a few semantic details need to be
sharpened out. Also, there are now quite a few old targets that are a
complete mess and will need to be cleaned up/removed entirely.

Thanks to naddy@ for testing various preliminary versions of this patch
and helping me iron bugs out.
2001-11-12 14:32:52 +00:00
espie
ea79980b4c Replace the lib dependency check with a more mechanical check, that
no longer relies on ldconfig, but rather on the path stored inside
LIB_DEPENDS. Introduce a lib_resolve_fragment that can be used to
resolve the libraries from a given list (e.g., listlibs).

To be used in the next patch.

Note that this check is currently more or less equivalent to the old
check, apart from the fact that:
- libs can't trust packages,
- lib-depends always resort to non-shared libraries, even on shared
architectures, if the shared check doesn't work.
2001-11-12 14:24:06 +00:00
espie
fb319b058a add top-level directory `mystuff' to be used by porters for stuff they
haven't committed yet. The nice part is that dependencies get transparently
resolved to mystuff/dir if they aren't found in dir.
2001-11-12 14:19:17 +00:00
espie
f5975b9f08 Move the `check and change directory' part to flavor_fragment, as it's
invariably duplicated right after otherwise.

This makes the code cleaner, and makes sure the check happens all the time.
2001-11-12 14:14:46 +00:00
pvalchev
a9a3d26241 get a proper list of system libraries to exclude, and report real missing
ones from LIB_DEPENDS for lib-depends-check on ELF. ok espie
2001-11-12 01:27:26 +00:00
heko
0e36dadb66 o Instead of copying the "virtual memory exhausted" warning for each
individual port, introduce a new variable for bsd.port.mk, VMEM_WARNING.
By setting this variable to `Yes', the user is given a warning about the
virtual memory requirements just before the pre-build stage.
o Also give some examples for different shells for what to do about
it, and mention login.conf(5). bash, for example, has a confusing
-v flag to ulimit.
o Document this in bsd.port.mk.5
espie@ ok
2001-11-11 13:57:32 +00:00
espie
1254a2ffa7 transform files/md5 into distinfo magically.
I would credit FreeBSD or NetBSD for the idea if I could remember which
one came up with it first. :)
2001-11-11 12:59:50 +00:00
espie
c66b6461e8 Zap idiot subshell 2001-11-01 12:26:16 +00:00