Commit Graph

778 Commits

Author SHA1 Message Date
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
brad
52a0b99132 - remove ftp.geo.net from MASTER_SITE_GNOME, it has been un-responsive for
quite awhile now (2-3 months)
- add a missing slash to the end of the server.ph.ucla.edu URL
1999-09-20 21:42:01 +00:00
espie
d99c94f1dd Typos, synch...
who cares about compface ? let this get pulled in if needed (e.g. xemacs)
1999-09-20 09:44:03 +00:00
espie
8201260adc gccc 2.95.1 comes with the system. 1999-09-20 09:43:01 +00:00
espie
79b9051629 Inform about what's going on on stderr 1999-09-20 09:42:17 +00:00
brad
efc0fd1ef2 add new variable STRIP, set to full pathname of strip command 1999-09-02 21:57:32 +00:00
brad
af2d0f432e - ports/lang/egcs-stable -> ports/lang/egcs/stable 1999-08-25 02:54:19 +00:00
brad
61964f5241 - update MASTER_SITE_TEX_CTAN and MASTER_SITE_GNOME
- OpenBSD.ORG -> openbsd.org
1999-08-23 00:03:42 +00:00
brad
3793cb0994 - update MASTER_SITE_XCONTRIB and MASTER_SITE_GNU
- add new variables CHMOD and CHOWN, set to full pathnames of those commands.
1999-08-22 23:44:51 +00:00
niklas
a4852e45ff typo 1999-08-21 21:22:17 +00:00
niklas
ea1c0a8940 Make it work under YP, and fix an obvious bug in an RE 1999-08-21 20:56:05 +00:00
niklas
a90a71f503 pgsql must get 71 as 70 is for named 1999-08-21 20:49:43 +00:00
brad
54ffc5dc9e back out previous commit which had broken the COMMENT length checking 1999-08-17 03:11:35 +00:00
espie
4ec116b521 wc -c to compute line lengths... 1999-08-10 19:56:11 +00:00
espie
1800a076f8 Activate new make-plist (perl script) 1999-08-10 19:55:31 +00:00
espie
9501268891 Let comments match.
Remove obsolete EXEC_DEPENDS and EXTRACT_ARGS
kill a few more unneeded subshells.
1999-08-10 19:54:17 +00:00
espie
c182a601aa Oops... cd 2>/dev/null 1999-08-10 19:50:37 +00:00
niklas
99067a152b Add deinstall to target we recurse on 1999-07-30 08:57:39 +00:00
espie
4f962f5a27 Another if -> case conversion 1999-07-29 15:41:47 +00:00
espie
8ab55c64e5 buglet: install-info --delete to remove entries. 1999-07-29 14:01:12 +00:00
espie
06f2deceba Making automatic plists better:
- parse mtree file completely,
- find out which directories amongst modified dirs are really new,
- handle info files.
1999-07-29 13:51:51 +00:00
espie
c772f75f0a Remove more subshells and inefficient constructs.
fold clean-depends like depends-list
1999-07-28 13:02:15 +00:00
espie
b3c843ef72 Optimizations:
- if cd construct >/dev/null
- prefer case to if [ ... ]
- remove unneeded subshells
1999-07-28 12:56:15 +00:00
espie
e5b3930ae6 - fix up templates location so that readmes should be functional.
- provide error location for failing recursive dependency computation.
- remove hard-coded limit on topdir, always try to use make package-name
and fall back on directory name otherwise.
1999-07-28 12:40:56 +00:00
espie
53892028da Optimize package-depends and depends-list.
Shave about 10% off make index.
1999-07-28 00:25:38 +00:00
espie
c08980492b Let do-patch be more useful in case of failure.
- says which patch fails,
- go on applying other patches before failing globally.

This helps for quickly updating ports.
1999-07-27 22:12:26 +00:00
espie
a9755d3ecd Run mtree before creating the INSTALL_PRE_COOKIE.
Since that cookie is only used for automatically creating plists,
and since mtree information does not belong in the plist (duplicates...),
this was a definite bug.
1999-06-24 18:39:48 +00:00
espie
283102788b test -h -> test -L 1999-06-24 17:31:16 +00:00
brad
4812ae237b remove ftp.jimpick.com and add some additinal mirrors to MASTER_SITE_GNOME 1999-06-13 03:50:51 +00:00
espie
c03c134a34 Use egcs if it exists in-tree. 1999-06-04 15:32:05 +00:00
espie
e01c21db04 Remove redundant OpenBSD tag. 1999-06-04 15:28:58 +00:00
espie
205e4a82cb USE_AUTOCONF is more a part of make patch' than a part of make
configure'.

Special-case it so that it gets run right after post-patch, but before
configure.
1999-06-02 15:44:50 +00:00
rohee
ad0e865784 cleaner 1999-05-28 19:21:42 +00:00
espie
7a7d20d5a9 Force commit. These are `new' files actually.
Like FreeBSD, we transfer ownership of ports specific stuff outside
of /src.

The cvs files were copied to make it simpler to track history.
1999-05-25 20:38:33 +00:00
brad
5e86217903 - add a few more dist sites to MASTER_SITE_GNU
- add MASTER_SITE_AFTERSTEP and MASTER_SITE_WINDOWMAKER for the master
and mirror sites of two popular window manager suites
- add MASTER_SITE_TCLTK which is Tcl/Tk master sites
1999-05-23 22:45:15 +00:00
brad
0871c39a19 add news user to eventually be used by leafnode 1999-05-18 17:19:53 +00:00
espie
6ca4907bb7 put back Bruno's USE_LIBTOOL addition.
Note that SUPDISTFILES/SUPPATCHFILES is documented.
1999-05-18 16:46:39 +00:00
espie
676a32d7d2 Stub documentation. 1999-05-18 16:43:16 +00:00
espie
b8c7c3aacc infrastructure framework: helper scripts and other stuff needed for
ports, long-term.
1999-05-18 16:39:02 +00:00
brad
824844b829 add USE_ZIP for distfiles that use zip (.zip) for its packaging instead of
tar and add USE_BZIP2 for distfiles that use bzip2 (.tar.bz2) for
compression instead of gzip.
1999-05-14 04:38:36 +00:00
brad
2ec9c91829 change email address of maintainer to ports-admin@openbsd.org 1999-05-10 21:35:25 +00:00
rohee
463908e3f8 USE_LIBTOOL from NetBSD 1999-05-04 18:12:24 +00:00
espie
365dccdb1d IMPORTANT CHANGE:
depends-list and package-depends now give out output suitable for tsort,
so they are INCOMPATIBLE with the previous version.

PACKAGE_NAME_AS_LINK disappears, functionality is replaced by
FULL_PACKAGE_NAME, which makes more sense anyway.

*This does fix the package dependencies problem*

Still missing: mechanism to output a decent error message in case tsort
finds out a cycle.
1999-04-20 18:22:56 +00:00
espie
3a65409fc1 FIND as a known program 1999-04-20 18:09:37 +00:00
espie
4972dbff39 remove weird restriction on package repository name, and make delete-links
safer.
1999-04-20 18:06:40 +00:00
espie
a28555f7ca Add SUPDISTFILES/SUPPATCHFILES functionality:
files that are not always needed for all builds, but that must be fetched
for maintainance purposes (makesum, mirror...)

Not to use for intl/usa programs, probably...
1999-04-20 18:04:27 +00:00
marc
1896b8f422 shit: egcs-stable is in LANG, not DEVEL 1999-04-10 07:48:53 +00:00
marc
95a5061506 Fix library dependency test for arch-es that don't
suppport shared libs so building tk80, for example, doesn't
cause tkl80 to get built even thouth it
is already installed.  Update list-distfiles target
1999-04-06 19:14:41 +00:00
marc
da0e292cee add list-distfiles target to help me build/update the LICENSE file 1999-04-02 06:55:56 +00:00
marc
aa5ff3fb17 add obj target that works in conjuction with WRKOBJDIR;
code from op21@squish.org
1999-03-30 07:12:05 +00:00
marc
1ac781eebc arrgghhh! do NOT add pkgdep lines when creating PLIST-auto;
(I thought I had already removed this quite a while ago).
1999-03-24 01:13:44 +00:00
espie
72aa22b8dc tell gnu configure packages to stuff their files under /etc. 1999-03-16 23:35:37 +00:00
rohee
6b26f372de Adding ${MASTER_SITE_GNOME} and ${MASTER_SITE_KDE} 1999-03-14 15:19:05 +00:00
marc
eb1948bcc4 pass COPTS in CFLAGS for those ports that do not override CFLAGS;
NOTE: Some (most?) ports override CFLAGS.  This includes all ports
that use imake.  Therefore this change is not as useful as it should be.
1999-03-10 23:22:19 +00:00
espie
c4ee42a0d1 Fix makesum/addsum batch behavior 1999-03-05 16:32:49 +00:00
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
marc
095ff6370f Add support for the COMES_WITH variable. COMES_WITH is set to the OpenBSD
version that a port became part of the standard distribution.  If someone
tries to generate the port on that version (or later) they will see the
message "<port> comes with OpenBSD as of release ${COMES_WITH}".  Users
of earlier versions of OpenBSD will still generate the port.
1998-03-27 03:30:43 +00:00
marc
7cf0a9609d Handle make clean when port is not for machine's architecture 1998-02-19 20:41:02 +00:00
niklas
ded46f6615 Fix lib-depends case for alpha even better 1998-02-11 00:40:55 +00:00
niklas
c5203aaf34 Fix lib-depends case for alpha 1998-02-11 00:34:55 +00:00
niklas
169f2bc29d make LDCONFIG usable on alphas too, no need for special casing it anymore 1998-02-10 08:33:16 +00:00
joey
3e83d12c8e openbsd maintainer changed from imp to me 1997-12-20 01:26:57 +00:00
todd
9a142b50e4 fix the PATH problem.
now things SHOULD compile with a PATH of /usr/bin:/bin ...
ANY executable not in these two subdirs should have ${SETENV} prepended
to set the right path.
1997-12-20 01:24:08 +00:00
niklas
0078145ff9 append /usr/local/bin and /usr/X11R6/bin to PATH during ports builds 1997-12-17 10:06:45 +00:00
niklas
6965edb8d6 Make WRKOBJDIR a bit smarter about existing links 1997-12-04 08:26:23 +00:00
niklas
57cfa50b0f do not destroy /dev/null on alpha 1997-12-02 23:36:46 +00:00
niklas
a2f9366cec one way to deal with LIB_DEPENDS on alpha 1997-12-02 21:58:12 +00:00
niklas
6bbbedb3e5 We have perl5 in-tree 1997-12-02 11:11:57 +00:00
niklas
ef1fe815ff Accept WRKOBJDIR for NFS mounted ports tree and local objs. DEF_UMASK is
different on OpenBSD.  Was this OK to commit, imp?
1997-09-21 10:58:41 +00:00
imp
f4261ae9b4 Merge 1.264 and 1.20 from FreeBSD's bsd.port.mk and bsd.port.subdir.mk respectively 1997-09-09 15:11:28 +00:00
millert
dda3c05a00 COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP changes.
For some reason the previous commit did not grab these.
1997-04-27 21:38:33 +00:00
millert
ac150b11d9 We use /etc/mk.conf not /etc/make.conf. 1997-04-19 19:34:29 +00:00
niklas
dd2279423e Support an ONLY_FOR_ARCHS var, that prohibits doing anything for a certain
port except for certain architectures.  If OBJMACHINE is set set WRKDIR to
work.${MACHINE}.  Fix a shell construct which pdksh interprets differently
than ash as it was written.  Make bsd.own.mk be auto-included in make(1)
invocations below this one.
1997-01-11 11:58:11 +00:00
imp
f0b2fa8a1d Merge our chagnes with FreeBSD's latest changes. We should now
have identical bsd.port.mk files again.  This file has successfully
compiled many of the archivers, gnu make, and emacs (althought the emacs
deltas have not been merged back into the FreeBSD tree yet since I don't
have it working yet).

The FreeBSD Id line may be slightly off since I generated it by hand to match
the commit I just made there.
1996-12-25 20:10:09 +00:00
niklas
1e521883f9 bring in bsd.own.mk 1996-12-22 17:46:02 +00:00
niklas
f9997a9eb6 Sync with FreeBSD 1996-10-22 14:01:19 +00:00
niklas
3c4333085d Merge changes from FreeBSD 1996-08-23 11:37:41 +00:00
tholo
a639195adf Our tar(1) now lives in /bin 1996-06-30 18:25:29 +00:00
deraadt
4639924de1 move to bin/md5 for `greater accessibility' 1996-06-11 10:38:02 +00:00
niklas
b28097295d Reintroduce the long patch(1) options 1996-06-10 11:23:16 +00:00
niklas
a47978664e Use our ftp & patch 1996-06-03 23:07:28 +00:00
niklas
4e6fd3a6d8 Initial import of "ports" mk-files from FreeBSD, probably needs work 1996-06-03 22:47:10 +00:00