Commit Graph

616 Commits

Author SHA1 Message Date
espie
6968258d70 Trust packages for all dependencies except libs. 2001-09-14 15:04:23 +00:00
ho
5b10ebfbe9 Fix a typo that prevented a number of ports from building correctly. heko@ ok. 2001-09-13 09:12:45 +00:00
espie
cd0a7c7bef * is special too 2001-09-07 10:56:50 +00:00
espie
9af4a16590 Protect expression against empty results. Will at least prevent syntax
errors.
2001-09-07 09:48:23 +00:00
espie
5a4388c241 More special chars to remove to create files. 2001-09-06 21:33:39 +00:00
heko
5904212e68 o Quote ??? for COMMENT= so that people won't forget to quote
the comment when they use the template.
espie@ ok
2001-09-06 09:48:23 +00:00
espie
4e9c296182 If pkg_create fails, you may still have a partial package out there...
Owned by root. Ouch.
2001-09-05 11:59:54 +00:00
espie
5bcf9d53b7 Use cookies for dependencies as well, and for the creation of a workdir.
This can speed up some iterations, as a dependency won't be checked more
than once. This also allows for make extract NO_DEPENDS=Yes, then later
to have the dependencies pulled in at configure stage (even though this
might not work all the time, as some dependencies may be needed earlier
but then you'll certainly notice).
2001-09-05 09:13:18 +00:00
espie
9327c4a99b LIB_DEPENDS tweaks.
- allow for several libraries, separated by commas.
- try to heed dependency most closely. Notably, make sure the spec
stops at a sensible place. This may break some ill-formed dependencies.
2001-09-05 09:10:34 +00:00
brad
72b351c4e8 kludge which allows the ports tree to continue working on our newly renamed powerpc systems without needing to patch all copies of config.guess in the tree. 2001-09-03 02:00:48 +00:00
naddy
f7fb1dbf29 whitespace nit 2001-08-30 21:43:10 +00:00
espie
286ec35abe Enforce the order of MOD*_configure fragments to match CONFIGURE_STYLE.
Create pseudo gnu/simple fragments to make the situation more regular.
Found by aaron@.
2001-08-28 08:09:31 +00:00
espie
8861b634d6 qt module 2001-08-27 09:08:57 +00:00
espie
1867c778d8 qt2 module support 2001-08-27 08:53:53 +00:00
espie
224ec1b24a Turns out modules have to go through infrastructure anyways, because
there's no easy way to reparse the Makefile afterwards...

Turns module absence into mild error (Fatal ?)
2001-08-27 08:50:30 +00:00
espie
e1f7f2ac1a fix dependencies's early_exit logic.
Turns out this can be done based on target, directly, instead of
relying on /nonexistent.

One step closer to turning TRUST_PACKAGES=Yes on by default...
2001-08-27 08:47:37 +00:00
brad
7272a8be65 add LIBTOOL to MAKE_FLAGS when USE_LIBTOOL is defined. 2001-08-26 21:42:18 +00:00
heko
3d75eb7220 o Add MASTER_SITE_SOURCEWARE to network.conf.template (mirrors
of sourceware.cygnus.com (also known as sources.redhat.com))
 o Modify bzip2 and gsl ports to use this new master_site (gnats
   remains to be fixed: no reply from maintainer)
 o Bump NEED_VERSION on those ports
maintainers of the ports ok: brad@, rohee@
2001-08-26 21:23:42 +00:00
espie
bc8a492475 Cut out some parts of bsd.port.mk into separate modules.
This is work-in-progress. Supplemental hooks will be added when they
become necessary.

The goal is to permit separate subsystems to tweak the package building
process slightly. This should help e.g., python or qt2, for instance.

Documentation will come when it's tested more thoroughly...
2001-08-25 11:23:46 +00:00
todd
2c70f18cb7 implement $PATCHORIG, a variable with the ability to change from .orig to
another suffix for 'update-patches' and 'patch', since there are some
distfiles that have foo and foo.orig already; ok espie@
2001-08-24 14:43:28 +00:00
espie
98836603b6 Fix clean/dist 2001-08-24 14:39:36 +00:00
espie
91228bc7f3 Recognize empty @owner/@mode/@group correctly. 2001-08-23 09:13:19 +00:00
naddy
5c7d963a5d typo: break to accidentally joined lines 2001-08-21 22:22:57 +00:00
brad
e654419469 drop old compatibility cruft and make USE_ZIP/USE_BZIP2 internal variables 2001-08-18 23:16:57 +00:00
espie
efb1a6317b Some attempt at parsing the .orig files, to preserve @mode/@owner/@group
and misc. information.

Try to warn if non-reproducible stuff is found.
2001-08-18 13:11:10 +00:00
brad
27888b1ea4 remove some old cruft to do with tar that does not pertain to us. 2001-08-17 03:23:04 +00:00
espie
ed3f2b5725 Fix (used bad patch version...) _PKGFILE->PKGFILE. 2001-08-16 15:15:24 +00:00
espie
01cca80419 Use new make feature. 2001-08-16 15:13:17 +00:00
espie
c191588f7f Change WRKDIR name, to flatten things somewhat.
work-* is too long, because we want to include the PKGNAME in the dir name
(so that PKGNAME changes are less likely to work with old work directories)

Change the way clean works, so that you can say
make clean='dist depends packages' and have it do what you think it should
do.

Common fragment to _create_wrkobjdir.

Put some info into PACKAGING (name of subpackage being built)
2001-08-16 14:49:31 +00:00
espie
212808ddbd Change PKGNAME and FULLPKGNAME semantics slightly.
Since those are mostly infrastructure-side, making SUBPACKAGE transparent
only adds to the confusion, so don't interpolate SUBPACKAGE into
FULLPKGNAME, hiding it into _FULLPKGNAME, but rather let FULLPKGNAME
tag the main package, and use FULLPKGNAME-foo for subpackage -foo.

This will simplify some other stuff...
2001-08-12 11:33:10 +00:00
heko
06dbdad843 o Shared works on alpha post-2.9;
remove it from the NO_SHARED_ARCHS list
naddy@ ok
2001-08-07 11:46:17 +00:00
espie
58571bb4ea Restore sudo in make deinstall. Naddy, Joshua Stein, and myself... 2001-07-31 22:26:48 +00:00
espie
5efc528bdc More trouble... Revert sed -e so that it will work. 2001-07-30 15:07:49 +00:00
espie
950a3a0fa6 Tsk, tsk. 2001-07-30 14:55:07 +00:00
jsyn
62cee9e1e2 Fix EXTRACT_CASES for shell archives (handles leading cruft, too!)
ok espie@
2001-07-30 14:45:26 +00:00
espie
ad09219591 Pass PKG_TMPDIR thru to pkg_add. From Heikki Korpalla. 2001-07-30 14:34:34 +00:00
espie
19d7809002 Lots of internal changes.
- define _FULLPKGNAME* and _PKGFILE*. Use _PKGFILE* as package cookie
instead of package_done.
- use ${PKG_DBDIR}/${_FULLPKGNAME${SUBPACKAGE}/+CONTENTS as install cookie.

- BIN_PACKAGES variable. If set to yes, remove coupling between
PACKAGE_COOKIE and dependencies, so that binary packages exist
independently of working directories.

- mark packages as precious.

- change all refs to PKGFILE to _PKGFILE${SUBPACKAGE}.
- add bulk-packages target.

Note that BIN_PACKAGES and TRUST_PACKAGES are off by default.
This interface is likely to change. The name bulk-packages will probably
change as well.

We will probably get rid of the old PKGFILE/FULLPKGNAME (taking SUBPACKAGE
into account) and use the new PKGFILE/FULLPKGNAME
PKGFILE-foo/FULLPKGNAME-foo instead (with explicit subpackage information).
This is less confusing and simpler.
2001-07-30 14:13:16 +00:00
espie
ccd5083297 Bad me. 2001-07-29 12:26:40 +00:00
espie
a3b8e08ec3 numbering of matches means we got to default log too often. 2001-07-26 14:53:53 +00:00
brad
e7f8c22367 .elsif -> .elif
--
Pointed out by: Piotr Domagalski <szalik@szalik.net>
2001-07-22 20:02:07 +00:00
brad
4c5b6c2977 typo 2001-07-21 06:14:43 +00:00
brad
663a3bfb71 sync MASTER_SITE_{GNU,SUNSITE,SOURCEFORGE,GNOME,PERL_CPAN,TEX_CTAN} with
FreeBSD's bsd.sites.mk
2001-07-21 06:10:29 +00:00
espie
1ebaa8580f Move the whole definition of FLAVOR_EXT up, so that it can be used
directly.

Tighten the flavor check, so that ports without flavors error out if
flavors are specified.
2001-07-20 13:13:47 +00:00
espie
9f4e80ba55 While building a package, we check dependencies with
DEPENDS_TARGET=package. Thus, the second check may fail...
So make it possible to avoid the second check.
2001-07-20 13:02:47 +00:00
espie
32d772833a Fix a few issues with portslogger, pointed out by Heikki Korpela.
I went a bit overboard with this one and implemented a Logger class
as a derived class on IO::File...
2001-07-19 12:29:09 +00:00
espie
1211f04ece Take PORTSDIR var into account. Noticed by Brian R. Landy. 2001-07-19 02:49:56 +00:00
espie
9e7d740d87 Move PKGFILE definition up, so that it can be used in dependencies. 2001-07-18 18:23:04 +00:00
espie
18979ba402 Knob DESTDIRNAME. 2001-07-18 16:19:47 +00:00
espie
cc77256996 Synch with src (CDIAGFLAGS, CXXOPTS, WARNINGS) 2001-07-18 14:52:27 +00:00
naddy
5f2065c764 - Make use of new bsd.port.mk feature and replace error reporting through
.BEGIN with ERRORS.
- Sync NEED_VERSION accordingly.
ok espie@
2001-07-18 10:59:00 +00:00