summaryrefslogtreecommitdiffstats
path: root/share/mk
Commit message (Collapse)AuthorAgeFilesLines
* `make clean' depend on the inclunde file bsd.dep.mkwosch1998-09-131-0/+1
|
* (1) Add MLINKS support.asami1998-09-101-13/+96
| | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: hoek (2) ELF support. 2a. Variable PORTOBJFORMAT specifies the object format of the system. It is passed down to configure/make via CONFIGURE_ENV/MAKE_ENV, and is given to generate-plist via PLIST_SUB. 2b. In PLIST, substitute lines that end with "/libFOO.so.X" with "/libFOO.so.X.0". (This means PLISTs should only list ELF libraries.) Reviewed by: jb, jdp, hoek, jseger, steve (3) Perl5-in-system support. Basically turns USE_PERL5 into a no-op if there exists a "/usr/bin/perl5". Also fix prior breakage by dima (${PREFIX} => ${LOCALBASE} in perl5 path). Reviewed by: markm (sort of) (4) Install requirement file as "+REQUIRE" so it will be executed correctly by pkg_delete. Reported by: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp> (5) Do not disable checksum and makesum when NO_EXTRACT is set. Pointed out by: hoek and kiri, among other people
* Add libperl for Perl5.markm1998-09-091-1/+2
|
* Fixed disordering and misformatting in previous commit.bde1998-09-091-8/+4
| | | | | | | Don't override correct default targets. Don't use afterinstall for installing things; it is for fixups after installing things.
* Backed out rev.1.28. It was bogus because bsd.man.mk is only usedbde1998-09-091-8/+1
| | | | | (and only usable) by other .mk files that have their own multiple inclusion protection.
* Turned on -Wformat -fformat-extensions. -fformat-extensions requires abde1998-09-091-3/+4
| | | | | -current version of gcc. Without it, -Wformat would complain about all the nonstandard %[Dbrz] formats in the kernel.
* Add a man section 1aout for the legacy man files to avoid them beingjb1998-09-072-4/+5
| | | | installed over the ones from binutils.
* Add -aout to CFLAGS and LDFLAGS in bsd.kmod.mk, not inbde1998-09-021-1/+5
| | | | | | src/lkm/Makefile.inc. This fixes broken builds of the syscons LKMs when OBJFORMAT=elf. Removed src/lkm/Makefile.inc since it became empty and is worse than useless.
* Oops, I missed the update from /etc/objectformat to /etc/objformatjb1998-08-311-3/+3
| | | | which caused a port-ELF upgrade to continue to build aout.
* Remove BINFORMAT which is only set when building tools that need to havejb1998-08-301-8/+11
| | | | | | | a default format. Include /etc/objformat to get the installed object type if it exists and if OBJFORMAT is not already defined.
* BINFORMAT -> OBJFORMAT ready for E-day.jb1998-08-303-16/+16
|
* bsd.docb.mk handles installing SGML/docbook documents.wosch1998-08-292-1/+58
|
* add support for /etc/make.conf.localdillon1998-08-291-1/+6
|
* Introduce PERL5 variable.dima1998-08-281-1/+2
| | | | | | It's gonna be used in all p5- ports. Reviewed by: asami
* Hope I haven't missed anything or forgotten to credit anybody. (Byasami1998-08-271-189/+351
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the way, most of the things below are "Reviewed by: hoek" as well.) The changes are (roughly in order of appearance): (1) Revamp comments at beginning of file. Major rewrites. Reorder them into more relevant sections. Make clear which ones are user variables and not to be set in ports' Makefiles. Reviewed by: hoek (well, he's the only one who sent any comments) (2) Include ${.CURDIR}/Makefile.local if it exists. This is a local configuration file (ala rc.conf.local and make.conf.local) so please do not commit a file with this name to the repository. Suggested by: dillon (3) MANCOMPRESSED now takes three possible values: "yes", "no" and "maybe". (It used to be a binary variable -- the old behavior is now accomplished by "MANCOMPRESSED=yes". Ports that defined this variable to other values have been corrected.) "yes" means the manpages are installed compressed, "no" means they are not, and "maybe" means the port already respects the value of NOMANCOMPRESS. The default is "yes" for USE_IMAKE ports without NO_INSTALL_MANPAGES, and "no" otherwise. Add "compress-man" target and move manpage {,de}compression there. Reviewed by: hoek etc. and a full build of the ports tree (4) Add LIBDIR="${LIBDIR}" to MAKE_ENV. Makes easier to "fix" ports for /usr/lib/aout mess. Submitted by: ohashi@mickey.ai.kyutech.ac.jp (Takeshi Ohashi) (5) Change ${TMPPLIST} from ${WRKDIR}/PLIST.mktmp to ${WRKDIR}/.PLIST.mktmp. Suggested by: hoek Strongly seconded by: steve (6) Change a couple more relative pathnames to absolute ones. Submitted by: hoek (7) Move checksum into real-extract. (8) Change way rules are chained. Instead of: build: configure ${BUILD_COOKIE} ${BUILD_COOKIE}: @cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} real-build we now have build: ${BUILD_COOKIE} ${BUILD_COOKIE}: @cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} configure @cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} real-build Other than being more PC (pmake clean), this really speeds up skipping ports already built. For instance, "make package" on a fully packaged games subtree used to take 269 seconds on average, now it's 45 seconds on average. The flip side of this is that it will create more processes when the targets actually chain, but when you're actually compiling things, your make is creating half a bazzilion processes anyway so I don't think it matters. (9) ${TMPPLIST} is now a real dependency. Create "generate-plist" target to generate ${TMPPLIST}. Make sure it's called when needed (usually between do-install and post-install), and that the required files exist. (10) Change some messages so we can tell where "make index" failed. (11) Check if LIB_DEPENDS really generated the required shared lib or not. Seconded by: "Brent J. Nordquist" <bjn@visi.com>
* Add "deinstall" to list of targets. This is only fair since "install" andasami1998-08-261-3/+4
| | | | "reinstall" are already here. :)
* Add default OBJFORMAT so that the build process can test for thisjb1998-08-181-2/+7
| | | | without having to run objformat to determine it.
* Bump version number for latest perlmarkm1998-08-151-2/+2
|
* Merge 1.227.2.45 (perl version substitution in PLIST).asami1998-08-121-3/+8
|
* Merge 1.227.2.44.asami1998-08-121-28/+55
|
* I presume Satoshi wanted ``uname -r'' for OSREL not ``uname -s''obrien1998-08-101-2/+2
| | | | Found by: gcc28 port
* Clean up all temporaries that we can generate.peter1998-08-081-9/+6
|
* Use more standard ld commands when stripping symbols out; ld -O is apeter1998-08-081-19/+37
| | | | | | freebsd-aout extension. The binutils ld doesn't understand it. Essentially this is backing out rev 1.33 for elf and other toolchain support..
* Make ../Makefile.inc handling more consistant to prevent multiple includespeter1998-08-088-8/+39
| | | | | | when certain .mk files include other .mk files. This will remove the need for multiple include protection in some other makefiles around the tree (and helps some elf conditionals).
* Remove the alpha specific __NETBSD_SYSCALLS from CFLAGS. This can stilljb1998-08-081-6/+1
| | | | | be added in /etc/make.conf. Yes folks, the alpha kernel is coming to a screen (and hopefully a disk) near you. Thanks to Doug.
* Update for Perl 5.005_01markm1998-08-061-3/+3
|
* (1) Rename variable "USE_X11" to "USE_X_PREFIX" to make clearer what itasami1998-08-051-30/+25
| | | | | | | | | | | | | | | | | | | | | | | means (change PREFIX to ${X11BASE}) and add a new variable USE_X11 which means "this port requires the X window system (actually the library)". USE_X_PREFIX implies USE_X11. USE_X11 adds a LIB_DEPENDS to libX11 with the x11/XFree86 port. Reviewed by: the ports list, hoek in particular (2) Remove NO_CONFIGURE and NO_PATCH, which never meant anything. Yell if they are defined. Reviewed by: the ports list (3) Add new variable OSREL, which is automatically set to the numeric OS version (e.g., 2.2.1, 3.0). It can be used to refer to files in gcc installations, for instance. (4) Finally remove EXEC_DEPENDS hack after all these years. Submitted by: hoek (5) Put quotes around some echo ${*_DEPENDS} statements so they won't blow up when the variables include regular expressions like "qt\\.1\\.\\\(33\\\|40\\\):${PORTSDIR}/x11/qt140".
* Fixed building -current under 2.2.6 using `make world'. Moved somebde1998-08-032-10/+16
| | | | | | | recently added definitions from sys.mk to bsd.own.mk. Include the src-relative bsd.own.mk in src/Makefile to pick up all new definitions. Don't check that MACHINE_ARCH is defined in src/Makefile, since it is (and should have been) guaranteed to be defined.
* Use a different hack in the ${DFILE} rule to keep indirect dependenciesbde1998-08-021-18/+11
| | | | | | | | | | | | | (mostly for includes) separate from direct dependencies (so that ${.ALLSRC} can be used to find full paths to the sources for the direct dependencies only). The `::' hack just forgot the indirect dependendencies. This broke building doc/usd/13.viref with `make -jN' - the index got corrupted by being built twice concurrently. Cleaned up the ${DFILE} rule. There was a .else clause with dead code in it following a .else clause (make accepts this bad syntax). ${.ALLSRC} now works in the USE_SOELIMPP case. Some client Makefiles no longer need the SRCDIR=${.OBJDIR} hack.
* Honor NOSHARED for tools. All tools should be built static forbde1998-07-291-5/+9
| | | | | | | | | | | `make world' to avoid problems with picking up (new) target or (stale) host shared libraries. Don't honor -static in LDFLAGS for linking LKMs. LDFLAGS is not actually for ld, but we use it anyway, and must prevent -static being misinterpreted as -s. Don't hide any of the link steps.
* Add var "CD_MOUNTPT" set to /cdrom by default.obrien1998-07-281-4/+5
| | | | Ok'ed by: discussed with Satoshi at USENIX
* Add US Mirror site to MASTER_SITE_KDE.se1998-07-131-1/+2
|
* Move bsd.own.mk after make.conf, this allows BINFORMAT to be set inpeter1998-06-121-3/+3
| | | | | /etc/make.conf - it changes LIBDIR in bsd.own.mk. Note that there are still problems with this, individual Makefiles cannot override BINFORMAT.
* Fixed `make depend', which I broke here about a month ago by movingbde1998-06-091-2/+3
| | | | | | the null default for `depend' from bsd.dep.mk to bsd.obj.mk. bsd.kmod.mk included these files in a bad order, so it picked up the null default.
* Recognize ".cpp" as a C++ suffix.dt1998-06-054-13/+14
| | | | PR: 3476
* Make the whereobj target print it's output without the overhead ofpeter1998-06-041-2/+2
| | | | | starting another make.. Besides, make -V is broken, since it will print unexpanded variables.
* Hard coded /usr/lib referencepeter1998-06-041-2/+2
|
* Fix my last commit which got caught in the cvs/cvsup cycle.jb1998-06-031-3/+2
| | | | | I'm told that I botched the tabs too. I'm not sure they are fixed now because I find that rather tedious.
* Uh, the NetBSD syscall define spam for alpha has to go after /etc/make.confjb1998-06-031-1/+6
| | | | so that it works all the time.
* In the case of alpha (only), more than just libc needs to know thatjb1998-06-031-1/+2
| | | | | NetBSD syscalls are being used, so spam all compiles with the define that indicates this.
* add libcipher, and update comments about libdes, libkdb, libkrb etcpeter1998-06-011-4/+5
| | | | which do exist but are in the secure dist rather than the base.
* Fixed double slashes in pathnames.bde1998-05-311-54/+54
|
* ELF preparation step 2:sos1998-05-262-55/+59
| | | | | | | | | | | | | | Move a.out libraries to /usr/lib/aout to make space for ELF libs. Make rtld usr /usr/lib/aout as default library path. Make ldconfig reject /usr/lib as an a.out library path. Fix various Makefiles for LIBDIR!=/usr/lib breakage. This will after a make world & reboot give a system that no longer uses /usr/lib/*, infact one could remove all the old libraries there, they are not used anymore. We are getting close to an ELF make world, but I'll let this all settle for a week or two...
* Complete back-out of the bsd.locale.mk change.jkh1998-05-204-157/+3
| | | | OK'd by: asami
* Add rcsid.mph1998-05-201-0/+1
|
* If LOCALE is not defined, default to USA. Otherwise, bsd.locale.mkmph1998-05-201-0/+4
| | | | blows up with errors.
* Add bsd.locale.mk to the list of files. Whether bsd.locale.mk ismph1998-05-201-4/+4
| | | | | | | | | | | the right solution or not, bsd.port.mk is broken unless bsd.locale.mk is installed. Note that if LOCALE is not defined, port-building explodes: "/usr/share/mk/bsd.locale.mk", line 135: if-less elif "/usr/share/mk/bsd.locale.mk", line 135: Need an operator (For each .if testing LOCALE)
* PR: misc/6031thepish1998-05-191-0/+137
| | | | Patch applied as per PR - enables preferential fetch from local mirrors
* PR: misc/6031thepish1998-05-192-2/+14
| | | | Patch applied as per PR - enables preferential fetch from local mirrors
* Add rules to generate PDF files.wosch1998-05-181-1/+9
|
OpenPOWER on IntegriCloud