summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2004-11-22Now that no package uses USE_GCC_SHLIB any longer, remove supportwiz2-21/+8
for it from compiler.mk. Move the variable of the same name used by compiler/gcc.mk and the gcc* buildlink3 files into private namespace (_USE_GCC_SHLIB).
2004-11-22Remove a duplicate gnome mirror, and fix path on a second one.wiz1-3/+2
2004-11-22Change perlfiles var to look for files from perl*,wiz1-2/+2
not only perl, so that perl-thread files are not marked as leftovers.
2004-11-20add OSF1 bits.grant1-0/+1020
2004-11-20Add AMANDA_TMPkim1-1/+6
2004-11-20quieten spurious broken pipe output from cc.grant1-4/+4
2004-11-20add pthread glue for OSF1, patch from Tobias Nygren.grant1-1/+7
2004-11-20backout cvs misfiregrant1-2/+1
2004-11-20add framework support for Tru64 and the Compaq C compiler.grant9-7/+397
patches provided by Tobias Nygren <tnn at netilium dot org> with minor changes by me.
2004-11-19Remove PERL5_USE_THREADS setting now that the default is perl58-thread.tv1-4/+1
2004-11-18OpenBSD's pax(1) doesn't support -O flag, so use the pkgsrc one.xtraeme1-2/+2
2004-11-18OpenBSD was fork()ed from NetBSD, so this uses -lossaudio as well.xtraeme1-2/+2
2004-11-17Remove some obsolete/deprecated variables that have been in this filejlam1-43/+1
for over two years. They're officially dead now for the upcoming branch and beyond.
2004-11-17Move selection of the default perl58 (whether it is threaded or not) intojlam1-1/+11
bsd.pkg.mk. lang/perl58 now always builds perl58, while lang/perl58-thread builds perl58-thread (POLS). Fixes PR pkg/28343.
2004-11-17PTHREAD_AUTO_VARS is "yes" or "no" for whether the values of thejlam1-1/+10
variables PTHREAD_{CFLAGS,CPPFLAGS,LDFLAGS,LIBS} should be automatically added to their respective variables. Defaults to "yes". Packages that only require some parts to be linked the the pthreads compiler/linker options should set this to "no" and selectively add those options via patches to the right makefiles..
2004-11-17Generalize BUILDLINK_AUTO_LIBS.<pkg> to BUILDLINK_AUTO_VARS.<pkg>,jlam1-19/+20
which is "yes" or "no" for whether the values of any of BUILDLINK_{CPPFLAGS,CFLAGS,LDFLAGS,LIBS}.<pkg> should be appended automatically to their respective variables.
2004-11-17BUILDLINK_AUTO_LIBS.<pkg> is "yes" or "no" for whether BUILDLINK_LIBS.<pkg>jlam1-6/+13
should automatically be appended to LIBS. It defaults to "yes".
2004-11-17For some reason EVAL_PREFIX is not properly using the _DEFAULT values, sotv2-2/+4
re-add the ?= assignments. (Will be fixed properly later.)
2004-11-17Don't check _*PREFIX/bin for the requested compiler hook program. Iftv2-27/+17
PKGSRC_COMPILER requested it, assume that it's available, so that compilation will (properly) fail if the hook program is somehow not correctly installed.
2004-11-17If we don't need to link against -ldb or -ldb1 (because the DB functionsjlam1-3/+5
are a part of libc), then remove "-ldb" altogether. This should fix GNU configure scripts that assume you need to at least link against "-ldb".
2004-11-16Preserve the .work.log file from a broken build as .broken.work.htmljlam4-6/+34
in the package directory, and add a link to it from .broken.html at the point where the build fails. Also adjust the auxilliary scripts to handle/cleanup .broken.work.html files. This should enhance the ability of developers to debug broken builds by providing important information about what is happening as a build progresses and fails.
2004-11-16Revert previous (re-add common CPP_PRECOMP_FLAGS). For consistency, alsotv13-40/+32
move usage of _USER_DEPENDS and _OPSYS_MAX_CMDLEN to bsd.pkg.mk.
2004-11-16CPP_PRECOMP_FLAGS is a Darwinism only. Move its frobbing of CPPFLAGS totv13-26/+14
platform/Darwin.mk (simplification).
2004-11-15If we're using db1, the create a compatibility header db_185.h that isjlam1-1/+10
in newer Berkeley DB packages.
2004-11-15Whitespace nits.jlam1-8/+8
2004-11-15Store the actual library options in BUILDLINK_LDADD.db1 and append thatjlam1-3/+4
to BUILDLINK_LIBS.db1. This ensures that BUILDLINK_LDADD.${BDB_TYPE} always resolves to the correct library options.
2004-11-15Rework the Berkeley DB detection in buildlink3:jlam2-58/+120
* Add a db1.builtin.mk file that detects whether DB-1.85 functionality exists in the base system, and remove the distinction between "native" and the other Berkeley DB packages -- we now refer to db[1234]. This paves the way for any future databases/db1 package. * USE_DB185 shouldn't need to be set by any packages -- its correct value is now automatically determined by bdb.buildlink3.mk depending on whether we explicitly request db1 or not. By default, if you include bdb.buildlink3.mk, you want DB-1.85 functionality and USE_DB185 defaults to "yes", but if you explicitly remove db1 from the list of acceptable DBs, then USE_DB185 defaults to "no". * Set BDB_LIBS to the library options needed to link against the DB library when bdb.buildlink3.mk is included. * We only add the DB library to the linker command automatically if we want DB-1.85 functionality; otherwise assume that the package configure process can figure out how to probe for the correct headers and libraries. Edit package Makefiles to nuke redundant settings of USE_DB185.
2004-11-15Set some _OPSYS_SHLIB_TYPE to precisely 'ELF' on platforms where a.out istv3-6/+6
not being used by pkgsrc at all. This saves some build time in show-shlib-type.
2004-11-14Add a mini-framework to centralise the handling of "hacks" for gettingjlam2-1/+75
particular packages to compile correctly. bsd.hacks.mk auto-includes the hacks.mk file in the current directory. An example hacks file: -------------8<-------------8<-------------8<-------------8<------------- .if !defined(FOO_HACKS_MK) FOO_HACKS_MK= defined ### [Sun Nov 14 02:08:31 EST 2004 : jlam] ### arm GCC 2.95.x optimisation bug tickled when compiling ### lib/funkyfile.c. Require a more recent version of GCC as a ### workaround and patch lib/funkyfile.c (patch-ae). ### .if !empty(MACHINE_ARCH:Marm*) PKG_HACKS+= optimisation GCC_REQD+= 3.0 .endif .endif # FOO_HACKS_MK -------------8<-------------8<-------------8<-------------8<------------- The comment which heads each individual hack should timestamp when the hack was added and describe the bug that requires the hack. By separating out hacks to a separate file, we should be able to simplify package Makefiles so that they are more readable.
2004-11-12Move PREFER_NATIVE_PTHREADS default setting to from pthread.buildlink3.mkjlam2-3/+7
to defaults/mk.conf, where all defaults should live.
2004-11-12Don't expand .la files in PLISTs that are symlinks. The expansion shouldjlam1-2/+2
only occur with the real .la file. This avoids the problem noted by Greg Troxel in: http://mail-index.netbsd.org/tech-pkg/2004/11/12/0018.html
2004-11-12Introduce LIBABISUFFIX for platforms which require ABI-dependant library paths.sketch3-12/+16
2004-11-12Insert the default values for WRAPPER_DEBUG and WRAPPER_UPDATE_CACHE asjlam2-4/+6
defaults within the wrapper script. This avoids requiring those two variables to be defined in the shell environment for the correct defaults to take effect.
2004-11-12Bulk builds should be defaulting to building perl58.jlam2-4/+4
2004-11-12Remove redundant uses of PTHREAD_{CFLAGS,LDFLAGS} now that they're addedjlam1-2/+1
automatically by pthread.buildlink3.mk. Also, factor out the pthread library out of PTHREAD_LDFLAGS into a standalone variable PTHREAD_LIBS and use it in packages where necessary (usually the ones that don't have a GNU configure script).
2004-11-12(1) Split out the native (built-in) pthread detection injlam3-50/+101
pthread.buildlink3.mk into a separate file, pthread.builtin.mk, that is handled using the usual builtin.mk logic. (2) If pthread.buildlink3.mk is included by a package Makefile, then automatically add the necessary compiler and linker flags to compile and link pthread-enabled/reentrant code. For native pthreads, this means passing -pthread to the compiler and linker. For the userland pthread replacement, we pass -D_REENTRANT and -lpthread instead. (3) Add PTHREAD_{CFLAGS,LDFLAGS,LIBS} in both CONFIGURE_ENV and MAKE_ENV when pthread.buildlink3.mk is included so that the configure and build processes can use these values. Remove these definitions from bsd.pkg.mk since PTHREAD_* variables are all declared within pthread.buildlink3.mk. XXX For now, PTHREAD_LDFLAGS is a superset of PTHREAD_LIBS until XXX packages that use use PTHREAD_LDFLAGS can be fixed.
2004-11-12Teach the native linker to accept "-pthread" by silently dropping it.jlam1-3/+12
This allows "-pthread" to be added to LDFLAGS for use by both the compiler and the linker.
2004-11-12Add a new variable BUILDLINK_LIBS.<pkg> which contains a list of -l...jlam1-10/+32
options (library options) to be appended automatically to LIBS when building against <pkg>. LIBS is used by GNU configure scripts to note the library options that are automatically added to the link command line.
2004-11-12Well, the double libtool BUILD_DEPENDS is already annoying people and I'dtv1-5/+3
rather not force BUILD_DEPENDS through the (slow) reduce-depends dance, so resurrect LIBTOOL_REQD (though in a bit more succinct manner).
2004-11-11Bump that libtool version number back down to nb1 where it was in previous.tv1-2/+2
2004-11-11Change the way _OPSYS_LIBTOOL_REQD works slightly.tv1-7/+5
Rather than replacing the LIBTOOL_REQD value, add two BUILD_DEPENDS lines. That way, the higher numbered BUILD_DEPENDS wins -- allowing the version in bsd.pkg.mk to be bumped beyond the value in the platform .mk and still be enforced properly.
2004-11-11NetBSD now needs libtool-base-1.5.10nb6.tv1-1/+2
2004-11-11-pthread is invalid for Interix gcc. Add a failure for it so thattv1-2/+2
portability oopses can be caught earlier.
2004-11-10Correct debugging output to show the actual script name.jlam2-4/+4
2004-11-10Backout previous pending further testing. There are rumors of problemsjlam1-3/+1
with -pthread/-pthreads GCC options detection that may be difficult to overcome.
2004-11-10Allow BUILDLINK_BUILTIN_MK.<pkg> to point to the builtin.mk file for thejlam1-8/+10
specified package. This defaults to the builtin.mk file in the pkgsrc package directory.
2004-11-10If we are using native pthreads, then add "pthread" to BUILDLINK_PACKAGESjlam1-1/+3
so that the buildlink3 framework knows to use the various BUILDLINK_*.pthread variables. This fixes a long-standing and long- overlooked bug in pthread.buildlink3.mk that has existed since the buildlink3 framework was initially committed. As a result of this change, modifications to packages to introduce PTHREAD_{CFLAGS,LDFLAGS} in various places to either the configure script or into Makefiles are probably no longer needed.
2004-11-10SunPro understands -Wl,* and passes to the relevant backend, so don't bin it.sketch1-3/+9
Fixes at least graphics/netpbm.
2004-11-10Update _GCC_DIST_VERSION to 3.4.3shannonjr1-2/+2
2004-11-09The "transform" file is used to transform arguments on the command line.jlam1-7/+46
The "untransform" file is used to unwrap *-config files and *.lai files. The transform file can be much stricter about what command line arguments should look like, so take advantage of that to fix the "libpath" and "libpath-in-define" regression tests.