Commit Graph

423 Commits

Author SHA1 Message Date
tv
8ab6713503 Fix symlinks creation in the build directory: create the symlinks there,
not in ${DESTDIR}.
1998-04-17 13:34:55 +00:00
tv
aea014c22a Braindead pmake conditionals. 1998-04-15 12:07:10 +00:00
tv
820dd24a68 Create the ELF symbolic links in the build tree, too. Needed for libamu
and egcs libcc1 to make sure linking is done against the correct shared
object.
1998-04-15 02:39:53 +00:00
tv
7484409ac2 Compare ${LDSTATIC} against ""; don't check for definition. Make this
DTRT on setups with a global setting of LDSTATIC= (nothing)
1998-04-15 01:38:27 +00:00
agc
001ce9107b Move bsd.port.mk and bsd.port.subdir.mk into pkgsrc/mk (by CVS
repository copy), which is a much better place for them.  Update the
Makefile to reflect these changes.
1998-04-14 07:56:56 +00:00
lukem
2dbeb85dde only read /etc/mk.conf once (stops += variables getting double assignments) 1998-04-13 12:03:07 +00:00
tv
c97729d6b8 Also build a static library regardless of NOSTATICLIB if LDSTATIC is
defined.  In situations where a "private library" is being built, a static
library is needed to link binaries statically (LDSTATIC=-static).
1998-04-12 21:22:20 +00:00
fair
2e28a338e3 a link installation performance optimization: only fire off "ln -f", not "rm -f; ln" for each link created 1998-04-09 22:08:36 +00:00
hubertf
271a6b74a8 Don't creade dirs mode 444, inspired by fvdl's last commit. 1998-04-09 12:47:02 +00:00
tv
854cea27cc New flag, NOSTATICLIB, prevents build and install of the standard static
library unless NOPIC is set.
1998-04-09 00:51:06 +00:00
tv
3b468e7a9b The C++ compiler is "c++", not "g++"; that is more compatible with non-GCC
based C++ compilers.
1998-04-09 00:45:10 +00:00
tv
482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
fvdl
1c1df51751 INSTALL_DATA_DIR should not install directories with mode 444 1998-04-08 22:27:41 +00:00
agc
80bf789853 Correct a definition name in a comment. 1998-04-03 09:56:00 +00:00
enami
6e80cfe67f Test target __initialized__ instead of .MAIN to see if inclusion
of ../Makefile.inc is necessary.
1998-04-03 04:40:42 +00:00
tv
875f72aa79 Revert. This broke too much in the build tree, and a better solution
needs to be created.  (The existing situation breaks a lot too.)
1998-04-01 16:58:33 +00:00
tv
755c261508 Fix .y rules to DTRT with possibly generated .h files. See mail on
tech-toolchain for a very detailed explanation of this.  In short, add
a .y.h rule identical to the .y.c rule and make the .y.c rule rename
the .h file; also, clean the .h file in CLEANFILES.
1998-04-01 15:23:36 +00:00
cgd
c0ac8bae67 GC alpha's ECOFF_TOOLCHAIN make variable, and related bits. Nobody
should be using an ECOFF toolchain on NetBSD/alpha any more.
1998-03-28 00:50:41 +00:00
tron
4388c70018 Add "ftp.uni-paderborn.de" and "ftp.x.org" to "${MASTER_SITE_XCONTRIB}". 1998-03-24 10:27:44 +00:00
hubertf
12ef5de7af Document ALL_TARGET and INSTALL_TARGET, as per PR 5186. 1998-03-23 07:42:50 +00:00
agc
b34c2c6ed2 Temporarily revert to using GNU tar, until pax is bug-compatible with
gtar.  pax has problems extracting certain archives which were made by
gtar and contain trailing trash at the end - gtar ignores this dross,
pax thinks it's valid, and prompts for the second volume.
1998-03-09 18:36:51 +00:00
hubertf
e7625fb46f Make definition of OBJMACHINE in mk.conf work. 1998-03-08 14:55:04 +00:00
frueauf
bc2108c741 Introduce "Arch:" field in INDEX to handle the ONLY_FOR_ARCHS case better. 1998-03-08 14:25:52 +00:00
hubertf
44cef8723d Add INSTALL_*_DIR macros. 1998-03-07 21:19:00 +00:00
jonathan
6fbfecba04 Use the new binutils-compatible ld commandline syntax to build
shared-library .so files on both ELf and  a.out platforms.
1998-03-07 02:02:58 +00:00
tron
3b568e620a MANZ now handles symlinks properly. 1998-03-01 13:38:03 +00:00
hubertf
6aa991c6a1 Cleanup fetch-list change reported by Bernd Ernesti.. 1998-02-28 16:02:21 +00:00
tron
10c0ddaf25 Fix merge problem with last commit. 1998-02-28 10:39:19 +00:00
tron
e97ed99680 Fix problem with registering foreign language manual pages. 1998-02-28 10:14:41 +00:00
agc
4c570e1c28 Patches from Matthew Green to use pax if it's present, in preference
to tar.
1998-02-27 13:22:59 +00:00
lukem
a771a1c39a change default ownership from bin:bin to root:wheel 1998-02-26 08:46:09 +00:00
perry
5e2ed85c88 set NONOLINT on i386. Other ports on which building with lint is okay should
be added to this list until we get all ports okay.
1998-02-25 18:30:11 +00:00
jonathan
5e0e8cec39 More table-driven changes for different toolchains:
* new bsd.own.mk variable OBJECT_FMT with values "a.out" or "ELF".
  * use OBJECT_FMT in Makefile tests that depend on toolchain.
  * Add new bsd.own.mk variable NOSHLIB that, if set indicates a given
    port doesnt yet do shared libraries. Set on powerpc.
  * Document new feature-test variables in src/share/mk/bsd.README.
Tested on i386, mips, fakedup Alpha environment.
1998-02-23 10:09:31 +00:00
hubertf
4abf2e5151 Enhance look & feel of the generated README.html's. 1998-02-20 22:06:18 +00:00
hubertf
289e97d3a8 Recursively print /bin/sh code for all dependent package as well as the
current package (IF called from a package dir and not via bsd.port.subdir.mk;
in the latter case it's assumed that the dependent packages will be scanned
later anyways).

This fixes PR 4992 by Mario Kemper <magick@bundy.lip.owl.de>.
1998-02-20 21:31:20 +00:00
hubertf
34f7405909 Kill line forgotten during PATH extension (in MAKE_ENV). 1998-02-20 21:01:09 +00:00
jonathan
b947725fbb Fix dyslexic typo. 1998-02-18 08:14:31 +00:00
jonathan
4cbc9ecd8e Make bsd.lib.mk rules to build ELF vs a.out shlibs more table-driven.
No more .if in solib link rule.
1998-02-18 03:14:31 +00:00
agc
3fde44b046 Add a deinstall target, so that packages can be removed easily.
This implementation was taken from FreeBSD.
1998-02-17 15:07:02 +00:00
thorpej
4d8ed30c33 Make the .N.catN rules depend on the troff macros used in manpage builds. 1998-02-15 01:07:46 +00:00
agc
31ff3c7ebb When generating the PLIST, if a manual page name has to have .gz added
or removed using sed, don't add the g at the end of the substitution
expression - there will only be one substitution per line.
1998-02-13 15:16:43 +00:00
hubertf
450b3dd272 Fix PR 4884 by replacing STRIP with STRIPFLAG.
This addes yet another step towards bsd.pkg.mk. :)
1998-02-09 00:47:23 +00:00
mikel
d317b4789d STRIP -> STRIPFLAG; from Jim Bernard in PR pkg/4884 1998-02-04 07:08:56 +00:00
hubertf
3089cbdaf0 Introduce TRUE?=/usr/bin/true, and use it. 1998-02-02 08:11:49 +00:00
agc
0e1796ddf0 Echo the directory name when doing a "make readme", so that progress
can be monitored.
1998-01-30 14:33:48 +00:00
agc
0ecdcb24d1 Remove the requirement that a LIB_DEPENDS name must have any '.'
characters escaped with a backslash, but recognise the backslashes for
backwards compatibility. When matching names, do any escaping of
the regexp '.' metacharacter automatically, if needed.

When a shared object dependency is printed out, use a form that does
not have the backslashes in it, for readability.

Print out the full pathname of the matching shared object, for clarity.
1998-01-30 13:53:53 +00:00
hubertf
f3234b8314 Replace "<$ARCH"> by "${MACHINE_ARCH}", keep "<$ARCH>"
(in bsd.port.mk) for backward compatibility.
1998-01-28 15:36:31 +00:00
hubertf
0c86a9c11e add mirror-distfiles target also here 1998-01-27 23:04:48 +00:00
agc
66d0028ab9 Rename the mirror' target to be mirror-distfiles'. This describes
the action better, and works around problems with the mirror package.

Document the mirror-distfiles target, and also the readme target.
1998-01-27 13:14:07 +00:00
hubertf
e134d92e49 use __ARCH_OK=yes and NO_IGNORE=yes at the mirror-target to get ALL distfiles 1998-01-25 14:50:47 +00:00