Commit Graph

76 Commits

Author SHA1 Message Date
espie
243325ff0d Replace md5 checksum with a choice of sha1, rmd160, md5.
Upward compatible.
1999-03-03 18:18:46 +00:00
marc
b068b620ca Remove . from the path passed to configure;
adjust the configure script path appropriate for SEPARATE_BUILD;
this seems to work for all ports, some ports had probs with earlier
changes
1999-03-03 04:16:03 +00:00
marc
805a2321b0 Note that NO_SHARED_LIBS can not be tested until after
bsd.port.mk is included; define CONFIGURE_SHARED that is set to
either --enable-shared or --disable-shared depending upon the
architecture.
1999-03-01 19:44:18 +00:00
espie
80b53dca30 Work around some broken Configure (such as elm) which don't work correctly
when they're invoked with an absolute path.
This was introduced by the WRKBUILD/WRKSRC split.

So:
- replace default CONFIGURE with a full path, so that you can override it.
- remove leading ${WRKSRC} from the configure invocation.
- add . to the configure path.
1999-03-01 18:44:04 +00:00
espie
53a94e23e7 * make the _PORT_USE macro more explicit and less magic in its use of
cookies, so that cookie names are no longer hard-coded.
* new SEPARATE_BUILD feature: for ports that can build outside their source
tree, use build-${ARCH} to build, and move configure/build/install cookie
down inside build-${ARCH}.

Those few people who use NFS to mount ports tree around different
architectures may find this helps.
1999-02-28 23:23:47 +00:00
rohee
e96afefbd9 sunsite.unc.edu changed its name to metalab.unc.edu + French mirror 1999-02-27 18:28:13 +00:00
marc
46f23475d0 Do not include @name or @cwd in packing lists created by the plist target;
they are not necessary as the proper names are generated when
the package is installed; including them only adds work as they
must be verified and changed when the port changes; thanks to
fgsch@ for bringing this up
1999-02-24 20:15:48 +00:00
espie
38507dd5f1 Declare phony target as phony targets. This may avert a few subtle bugs,
and it documents behavior as well.
1999-02-24 12:34:46 +00:00
espie
dc29b071db internalize NEED_VERSION sub macros to avoid getting tangled with
user macros.
1999-02-21 00:50:28 +00:00
marc
a9d5d5a455 Follow up on espie suggestion: don't allow package registration
(following installation) if the COMMENT exceeds 60 characters
1999-02-21 00:01:30 +00:00
marc
937ad7ba56 display ${PKGDIR}/MESSAGE after install (if it exists);
use cat(1) instead of more(1), though, so the port need not be
marked as interactive;  problem noted by fgsch@openbsd.org
1999-02-18 19:22:45 +00:00
marc
aa9de267e1 use NO_SHARED_LIBS in lib-depends target instead of
testing specifically for the alpha
1999-02-18 00:01:47 +00:00
marc
a5555bd326 oops: left out .endif in a cut/paste 1999-02-17 23:52:56 +00:00
marc
4076b84ec2 Define NO_SHARED_LIBS for those archs that do not support shared libs;
When selecting a packing list choose in order:
 o PLIST.<arch>
 o PLIST.noshared if NO_SHARED_LIBS is defined
 o PLIST
1999-02-17 23:45:15 +00:00
espie
c980be2eaf Fix checksum logic: in a manual sequence of
make extract; make patch; make configure; make;
the checksum will only be checked ONCE (before extract), and not
every step of the way...
1999-02-17 13:00:42 +00:00
rohee
a0ffb17138 Provisions for building in a separate directory tah sources 1999-02-03 17:53:13 +00:00
marc
067fd059de pass all install macros to configure; Kenneth R Westerback <krw@tcn.net> 1999-01-24 02:04:20 +00:00
pattonme
46b114540e Removed all OPSYS conditionals and extraneous comments for readability. 1999-01-08 23:45:48 +00:00
espie
6e58b8b012 avoid aliasing between MASTER_SITES and PATCH_SITES, e.g.,
MASTER_SITES=some_sites
PATCH_SITES=${MASTER_SITES}
MASTER_SITE_SUBDIR=one_dir
PATCH_SITE_SUBDIR=second_dir
now works
1998-12-19 16:52:22 +00:00
form
ffc8cfddca make plist: do not add files from just installed ports (we wepend on) to PLIST. 1998-12-18 12:00:46 +00:00
espie
ca19252069 NEED_VERSION 1998-12-17 18:25:06 +00:00
marc
5435b76ab3 describe NO_WARNINGS; define in the "mirror-distfiles" target 1998-12-16 19:59:48 +00:00
marc
bb463a4c73 add mirror-distfiles as a known target 1998-12-16 19:26:31 +00:00
form
a55a3db460 make plist: treat links to dirs as files, not dirs 1998-11-27 10:51:54 +00:00
espie
b826b02992 - revert change now that we have patch -C
- fix PATCH_LIST so that is works
- add USE_AUTOCONF
- fix PATH env logic

plus some documentation...
1998-11-25 01:08:35 +00:00
marc
87dbd13316 checkpatch target and PATCH_CHECK_ONLY not available with OpenBSD 1998-11-19 22:15:31 +00:00
espie
96ed07c74d new functionalities:
- PATCH_LIST   for conditional patches
- addsum       for non destructive md5 checksum updates
1998-11-19 04:20:09 +00:00
form
5f564b3eca Handle USE_MOTIF. 1998-11-17 07:14:16 +00:00
form
d1a911e456 Test ${ONLY_FOR_ARCHS} against both ${ARCH} and ${MACHINE_ARCH}. 1998-11-17 06:39:25 +00:00
espie
66a0c698d1 - support for C++ in configure consistent with sys.mk
- support for USE_EGCC/USE_EGXX similar to USE_GMAKE
1998-11-05 10:36:14 +00:00
form
71d15dd145 check write permissions to ${DISTDIR} before trying to fetch distfiles. 1998-10-05 05:13:34 +00:00
marc
2418c0483a don't generate @exec ranlib for .a files (plist target) 1998-09-08 05:51:06 +00:00
marc
7115d95299 sync with NetBSD where possible. Fix WRKOBJDIR. Add deinstall target.
Make uninstall an alias for deinstall.
1998-09-07 22:33:19 +00:00
marc
49cd8ac328 add -q to mtree invocation. This requires version of mtree checked in
last week.
1998-08-24 04:46:14 +00:00
marc
d0d94c3e99 when checking for lib depends on the alpha (no shared libs)
check /usr/local/lib and /usr/X11R6/lib in addition to the standard place
1998-08-21 06:57:19 +00:00
marc
134a6e4ad4 update 'comes with...' message so it is less confusing 1998-08-08 06:14:58 +00:00
espie
1fbb20d7e1 Fix version number checking to handle ja-* correctly. 1998-07-29 15:32:54 +00:00
espie
6c0a6df234 Document NOCLEANDEPENDS, make clean gotcha 1998-07-28 15:25:24 +00:00
form
0bc35d83b0 fix ONLY_FOR_ARCH test in bsd.port.mk 1998-07-17 04:10:20 +00:00
todd
79f56316d4 typo 1998-07-13 03:11:14 +00:00
todd
ce001ee9c2 allow detection of older package versions with a new package from the ports tree 1998-07-12 04:34:39 +00:00
marc
86eef58529 remove comment from packing list that must be added when
the package is installed, not when the plist is created
1998-07-09 03:12:18 +00:00
marc
628c750230 search for files in
ftp://ftp.openbsd.org/pub/OpenBSD/distfiles if they were not found in
ftp://ftp.openbsd.org/pub/OpenBSD/licensed.  The later directory is where
we will keep the tarballs for ports that can not be shipped on the CD.
1998-07-08 03:27:17 +00:00
marc
e92bb40972 minor tweaks to plist target 1998-07-07 04:02:47 +00:00
marc
300862ba57 New target 'plist' for port developers. Generates /PLIST-auto
which should require minimal hacking to turn into /PLIST.
CAUTION: does not find files installed with tar, or any other install
method that does not change the timestamp of the installed file.
1998-07-06 22:06:51 +00:00
marc
cc23b97e31 add support for architecture dependent packing lists;
PLIST.${ARCH} will be used if it exists, otherwise PLIST is used
1998-06-29 22:21:16 +00:00
marc
ef307d696e update OpenBSD maintainer per toddf's request 1998-06-11 16:03:48 +00:00
marc
05f58c3110 Redo the way ONLY_FOR_ARCH was implemented. The new method
allows things like "make clean" and a top level "make index" work
regardless of the architecture upon which the command is issued.
1998-04-28 19:19:29 +00:00
marc
1abee69d44 existing fetch from cdrom was freebsd specific and would not work on OpenBSD;
Add code to copy or link from cdrom that works with OpenBSD.
1998-04-06 21:46:00 +00:00
marc
8979b0014d Add ftp.openbsd.org as a MASTER_SITE_BACKUP before ftp.freebsd.org;
If MASTER_SITE_OPENBSD is defined only ftp.openbsd.org will be used;
Re-do the way COMES_WITH was implemented to allow overide on the
command line by defining NO_IGNORE.
1998-04-05 04:20:38 +00:00