summaryrefslogtreecommitdiffstats
path: root/share/mk
Commit message (Collapse)AuthorAgeFilesLines
* s/lkm(4)/kld(4)/peter1999-04-232-4/+4
|
* Clean out most of the LKM stuff, the build support left a little while ago.peter1999-04-201-85/+9
|
* Default KMODDIR = /modules now, not /lkmpeter1999-04-201-3/+3
|
* Create /var/db/port.mkversion rather than /var/db/pkg/.mkversion to be inobrien1999-04-151-2/+2
| | | | | | sync with bsd.port.mk rev 1.309. Submitted by: make world
* Add ${DESTDIR} to installation path. Move target to under beforeinstall:.asami1999-03-311-4/+2
| | | | Submitted by: bde
* I'm sorry, this was already fixed in etc/mtree/BSD.var.dist.sada1999-03-311-2/+1
| | | | Submitted by: asami@FreeBSD.ORG
* Sometimes we have to make `/var/db/pkg' directory before we createsada1999-03-311-1/+2
| | | | | `.mkversion' :) Submitted by: YAMAMOTO Shigeru <shigeru@bremen.or.jp>
* Create /var/db/pkg/.mkversion file with datestamp.asami1999-03-291-1/+4
|
* Removed all traces of LN_FLAGS. It was only used to produce a linkbde1999-03-233-12/+43
| | | | | | | | | | | | | | | | /usr/sbin/sysctl -> ${DESTDIR}/sbin/sysctl in some versions of 2.2, and this link was broken if DESTDIR was set. Added a SYMLINKS macro. This works the same as LINKS, except it creates symlinks and the linked-to pathname may be relative. This is more flexible than LN_FLAGS, since it supports installing symlinks independently of hard links. Use `ln -f[s] ...' instead of `rm -f ...; ln [-s] ...' for LINKS and SYMLINKS. This is equivalent if the target is neither a directory nor a symlink to a directory. PR: 8279
* Restored objlink. The previous commit was confused about the differencebde1999-03-212-4/+14
| | | | between OBJLINK and objlink.
* New names for the list; the DES crypt and libwrap for tcp_wrappers.markm1999-03-141-1/+3
|
* Bitrot. Remove objlink as it is not pleasant to be downwind.markm1999-03-142-33/+5
| | | | | PR: 8071 Reviewed by: Sheldon Hearn <sheldonh@iafrica.com>
* Rewrote the changes in rev.1.53. Don't ignore errors from makeinfo.bde1999-01-301-20/+7
| | | | | Use fancy substitutions instead of a huge if statement to handle the rather delicate quoting.
* Fixed comment and whitespace lossage in recent commits. The -W flagbde1999-01-291-7/+14
| | | | | | is not implied by -Wall as claimed by gcc.1. Adding it causes a measly 7193 new warnings for LINT, mostly for "unused parameter" and "comparison between signed and unsigned".
* Cleanup bsd.kern.mk after last commit.dillon1999-01-291-14/+4
|
* Turn on -Wall and -Wcast-qualdillon1999-01-271-5/+11
|
* Move bsd.port.*mk to under ${PORTSDIR}/Mk (already repository copied).asami1999-01-264-2446/+8
| | | | | | There are only skeletons left here; they merely serve as a backup to include the real versions under ${PORTSDIR}/Mk while we update the ports tree to include them directly.
* Introduce a new variable NEED_LIBNAMES. If it is defined,jdp1999-01-222-4/+4
| | | | | | | <bsd.libnames.mk> is included regardless of the object file format. This is needed to fix the a.out PAM breakage that manifests itself when trying to build login.
* Change the definition of LIBPAM to support the static PAM library.jdp1999-01-201-1/+14
| | | | | | | | | | | | | | When linking statically, LIBPAM is augmented with the extra libraries that the PAM modules require. The idea is to centralize this information rather than scattering it about in the Makefiles of all the applications that use (OK, will use) PAM. There is a new variable MINUSLPAM that should be used instead of "-lpam". In the static case, it gets -l flags for the extra required libraries. This approach was suggested by <bde>, but he didn't actually review my changes.
* Add some capabilities to <bsd.lib.mk> so that it can be used forjdp1999-01-201-48/+47
| | | | | | | | | | | | | | | | | | | | | | | | | building dlopen-able modules, and add features needed to build a static PAM library. I think I cleaned it up some, too, but beauty is in the eye of the beholder. You can now build a shared library without version numbers, by defining SHLIB_NAME to something like "pam_unix.so". If SHLIB_MAJOR and/or SHLIB_MINOR are set, SHLIB_NAME gets the usual default value, but it can be overridden if desired. If none of these symbols are set, no shared library is built. SHLIB_LINK controls the name of the symbolic link that points to the library. If it is unset, no link is made. In the usual case, it gets the right default: e.g., "libc.so" for ELF, nothing for a.out. This can be overridden. STATICOBJS can be set to a list of extra object files that should be added to the static library but not to the shared library. These objects are added to the profiled library too. These changes should make it easy to use <bsd.lib.mk> for building things such as PAM modules and dynamic linkers, for which <bsd.prog.mk> has been abused until now.
* remove - before __entry, it is not make conmmand but shell continuation lineache1999-01-201-2/+2
|
* Texinfo has been upgraded. This needs to catch up.markm1999-01-201-4/+21
| | | | Submitted by: lkoeller@cc.fh-lippe.de
* (1) Add gnome master sites.asami1999-01-201-4/+10
| | | | | | | Submitted by: Jeremy Lea <reg@shale.csir.co.za> (2) Change backup distfiles dir to reflect change in ftp.freebsd.org's reorganization.
* Clean new index file(GPATH) of global.simokawa1999-01-181-2/+3
| | | | Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>
* Option names have changes for texinfo-3.12markm1999-01-141-3/+3
|
* (1) Add ONLY_FOR_ARCHS and NOT_FOR_ARCHS. They are list of architecture namesasami1999-01-111-19/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (as given by "uname -m") by which you can specify which architectures the port is appropriate for. Idea borrowed from: NetBSD, OpenBSD Reviewed by: simokawa (2) New variable PERL_ARCH (value: ${ARCH}-freebsd) that is also passed to ${PLIST_SUB}. Use it to simplify PLISTs. Submitted by: simokawa (3) Check OSVERSION as well as existence of /usr/bin/perl5 before assuming USE_PERL5 is to be a no-op. Basically to allow building of 2.2-INDEX on a 3.0 machine. (4) Change USE_QT definition to use new shlib version (2) and directory (qt142). (5) Uncomment temporary Motif dependency for parallel package building. We still need to figure out a way to install the pkg database files, but it's a start. (6) Move EXTRACT_SUFX up into the pre.mk area so it can be used in exists() tests. (7) Add MASTER_SITE_COMP_SOURCES. Note that this is defined like "/pub/usenet/comp.sources.%SUBDIR%/" so you can specify something like "SUBDIR=x/volume18" to select the newsgroup as well as subdirectory name. Submitted by: "distfiles" fenner (8) Other misc. master site cleanup. Submitted by: "distfiles" fenner (9) New target "maintainer". I intend to use it to auto-mail failure build failure notices to the maintainer.
* Switch to using ".So" as the extension for PIC object files ratherjdp1999-01-091-13/+13
| | | | | | | | than ".so". The old extension conflicted with well-established naming conventions for dynamically loadable modules. The "clean" targets continue to remove ".so" files too, to deal with old systems.
* OBJFORMAT=elf in the absense of an override for both alpha and i386 bypeter1999-01-071-5/+1
| | | | default now.
* Move some compile flags from the kernel makefile to bsd.kern.mk so thatdfr1998-12-171-1/+9
| | | | | | kernel modules are built with the right flags. Suggested by: Andrew Gallatin <gallatin@cs.duke.edu>
* Add -Wunused to kernel build flags.archie1998-12-141-3/+3
| | | | Reviewed by: cvs-committers@freebsd.org
* (0) Fast INDEX generation. Only print out the directory name andasami1998-12-122-75/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | don't recurse in "make describe". The new INDEX target in ports/Makefile invokes a perl script to recurse and convert them into package names. While I'm here, change the name of targets and move them around a little bit for the sake of consistency. It is also probably worth noting here that the meaning of the "build dependency" list in INDEX has been changed slightly changed. The old list was "build depends and its build depends" -- not particularly useful if you had things like autoconf, which run-depend on gm4 (you install all the things listed here and you'll get an autoconf that won't run). It is now "build depends and its run depends" -- you install everything listed here, and you'll be able to build the port. Submitted by: steve (0') Fast README.html generation. It uses ports/INDEX to find dependencies instead of embarking on to a recursive loop. Submitted by: steve (1) Remove NO_WRKDIR and NO_EXTRACT. Their functionality are easily replacable with NO_WRKSUBDIR=t and EXTRACT_ONLY= (nothing on right side), and they get in the way of read-only port trees. (2) Surround first few variable definitions with ".if !defined()". This will make cross-compilation easier and also speed up make processes. (3) Call sysctl with absolute path. Prefer the one in /sbin over the one in /usr/sbin. (4) Add four new variables PKGINSTALL?= ${PKGDIR}/INSTALL PKGDEINSTALL?= ${PKGDIR}/DEINSTALL PKGREQ?= ${PKGDIR}/REQ PKGMESSAGE?= ${PKGDIR}/MESSAGE and use them in PKG_ARGS. Frobbing with PKG_ARGS directly is strongly discouraged. (5) Change PKG_SUFX to ".tar" (instead of ".tgz") if PKG_NOCOMPRESS is defined. This is intended only for our own use. (6) Add more sites to MASTER_SITE_GNU. Submitted by: billf (7) Override MANUAL_PACKAGE_BUILD if PARALLEL_PACKAGE_BUILD is defined. This is intended only for our own use. (8) Add new target "ignorelist" which will print out the package name if the port is not going to be built on this machine. This is intended only for our own use. (9) Make mtree a little quieter.
* Backed out previous commit. It was for bug for bug compatibility withbde1998-12-061-3/+2
| | | | | | 2.2's .mk files. Fixed spelling and placement of '$Id$'.
* Removed bitrotted code for setting OBJFORMAT.bde1998-12-062-12/+2
|
* Change USE_QT to use version 1.41. I know this is a little premature,asami1998-11-251-2/+2
| | | | but I'd like as many people to test this before the release.
* (1) Remove LOOP_VAR and LOOP_OPTIONS. It's a hack and just too many thingsasami1998-11-201-94/+53
| | | | | | | | | | | | | | | break one way or another. With it goes the package-loop and the describe loop. (2) Add new variable MASTERDIR to make it easier to share files between ports. bsd.port.mk will find things like ${PKGDIR} underneath ${MASTERDIR} (which defaults to ${.CURDIR}). (3) Do not allow MD5_FILE to be renamed. Funny things can happen if you do that. (4) Use a few more absolute paths in the bsd.port.pre.mk part. I can't use absolute paths for sysctl because it moved recently.
* Add LIBPAM, LIBRADIUS, and LIBTACPLUS.jdp1998-11-181-1/+4
|
* For ELF, create a symbolic link libfoo.so -> libfoo.so.NNN in thejdp1998-11-181-3/+5
| | | | | object tree too. This makes it possible to link against a shared library that hasn't been installed yet.
* Add EXTRA_PKG_FLAGS to PKG_FLAGS. You can now add arguments to pkg_createasami1998-11-141-2/+2
| | | | without redefining PKG_FLAGS after bsd.port.mk.
* Use a name less likely to collide with source files without an obj dir.peter1998-11-111-4/+4
|
* Make bsd.port.mk includable in two phases. bsd.port.pre.mk defines onlyasami1998-11-114-30/+69
| | | | | | | | | | | a few variables that could be used in the port Makefile for ".if exists()" tests. bsd.port.post.mk defines the rest. Note: if you define USE_X_PREFIX or USE_IMAKE, put it before including bsd.port.pre.mk. These are the only two variables used in the first part. In reality, bsd.port.pre.mk and bsd.port.post.mk just include bsd.port.mk with special variables to turn part of it off.
* (1) New variable MAKE_ARGS: will be appended to build/install make argumentasami1998-11-082-12/+36
| | | | | | | | | | | | | | | list. The old MAKE_FLAGS was a little hard to use since it had a weird default ("-f"). Suggested by: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp> (2) Add new targets clean-restricted and clean-for-cdrom, which will delete RESTRICTED and NO_CDROM packages and distfiles from the top. Reviewed by: jkh (3) Add depends to list of things to recurse on. It will help people who are trying to fetch some ports plus their dependencies. Requested by: Chris Dillon <cdillon@wolves.k12.mo.us>
* Do not add ${KMOD} to the CLEANFILES list. We want ${PROG} which is eitherpeter1998-11-051-2/+2
| | | | | ${KMOD}.o or ${KMOD}.ko. Otherwise we can delete the source shell script for linux, joy and ibcs2.
* (1) Add new variables LOOP_VAR and LOOP_OPTIONS to implement building severalasami1998-10-302-7/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | packages from a single port. LOOP_VAR is the name of the variable and LOOP_OPTIONS is a space-separated list of values it should take. When these are set, the target "package-loop" will go through a clean and package loop for all the options. The "package-loop" target is defined as "package" when LOOP_VAR is not defined, so if you are in the business for building packages, you should use "package-loop" all the time. (This target is added to bsd.port.subdir.mk too.) Also, the "describe" target prints out multiple lines so that all options will go into the INDEX. (In other words, if you define these variables, INDEX is going to look real silly if you don't put ${${LOOP_VAR}} in PKGNAME.) Seconded by: obrien ("ANYTHING") (2) Turn off regexp support for LIB_DEPENDS. It is a fixed string of the form <NAME>.<VER> now. Tested by: several rounds of complete package builds (3) Check checksum even if NO_EXTRACT is defined. (4) Cosmetic fix for message in MANUAL_PACKAGE_BUILD case.
* Default to aout only on i386. Before we defaulted to elf only onimp1998-10-192-8/+8
| | | | | | Alpha. This is a minor, but important distinction. Should be a no-op to the install base. If OBJFORMAT is set elsewhere, things work exactly as they did before.
* Allow ``make BINDIR=/foo/games'' to work.obrien1998-10-181-2/+2
|
* Update the kld gluepeter1998-10-161-1/+32
| | | | Pre-Approved by: jkh
* Support encapsulating ELF linker sets for KLD modules via gensetdefs.peter1998-10-141-3/+36
| | | | | Support name based dependencies at build time. This is a hack. These only affect KLD modules.
* Add new variable NO_FILTER_SHLIBS -- it will disable ELF <-> a.out shlibasami1998-10-091-1/+3
| | | | | | | | name conversion. Use it for binary ports that come with its own private shlib dirs, ports that install linux compatibility libraries (thus following their naming conventions and not ours), etc. Reviewed by: Martin Cracauer <cracauer@FreeBSD.ORG>
* (1) Add new variable ${PERL} which is equal to ${PERL5} but without theasami1998-10-061-4/+11
| | | | | | | | | | | | | | | | | | version number part (i.e., "<directory>/perl"). Use this to substitute #! lines in your perl5 scripts. Requested and reviewed by: ache (2) Add new variable WRKDIRPREFIX (defaults to ""). The "work" directories are now in ${WRKDIRPREFIX}${.CURDIR}/work by default. You can have a read-only ports tree (modulo any broken ports that write something to places other than ${WRKDIR}) by setting this to a writable location. Ports that set WRKDIR explicitly should append this to front so they will work when the user has WRKDIRPREFIX set. Reviewed by: Toshihiko Kodama <kodama@ayame.mfd.cs.fujitsu.co.jp>
* Define KLD_MODULE if building a KLD module.msmith1998-10-021-1/+4
| | | | | Forgot to mention that the previous commit was Submitted by: Doug Rabson <dfr@freebsd.org>
OpenPOWER on IntegriCloud