summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2004-04-01Add the 'gu' locale directory, initially used by epiphany 1.2.2.jmmv10-10/+50
2004-04-01add USERADD/GROUPADD support via sysutils/user_darwindanw1-4/+8
2004-03-31Add the tk locale directory, initially used by gnome-desktop 2.6.0.jmmv10-10/+50
2004-03-31revert previous.seb1-4/+4
2004-03-31Get rid of dd workaround for old paxes (last seen in NetBSD before 1.5;wiz1-6/+4
bootstrap pax doesn't need it either). Closes PR 18814 by Greg A. Woods.
2004-03-31if NO_BUILD is defined, default to an empty USE_LANGUAGES.grant1-1/+6
2004-03-31tweak whitespace in commentgrant1-2/+2
2004-03-31fix comment about needing patch(1).grant1-2/+2
2004-03-31Since revision 1.155 of bsd.prefs.mk, compiler.mk is required in packagesketch1-2/+2
Makefiles for testing CC_VERSION, not bsd.prefs.mk. Reflect that change in the provided example.
2004-03-31Move the check for USE_X11 after bsd.builtin.mk included since that filejlam1-15/+20
may indirectly set USE_X11. This should fix using some of the builtin X11 software to build non-X11 packages.
2004-03-30Check for !empty(X11_TYPE:Mnative) instead of checking forxtraeme1-2/+2
empty(X11_TYPE:MXFree86), because X11_TYPE=xlibs could be used too...
2004-03-30GCC has this annoying behaviour where it advocates in a multi-linejlam1-1/+11
banner the use of "#include" over "#import" when including headers. This generates a _huge_ number of warnings when building practically all Objective-C code where it is convention to use "#import". Suppress the warning if we're building Objective-C code using GCC by passing -Wno-import to the compiler.
2004-03-30Enable X11_TYPE=XFree86, ok'ed by jlam@.xtraeme1-3/+9
2004-03-30There is no "heimdal-libs" package.jlam1-2/+1
2004-03-30Make mit-krb5 into an accepted Kerberos 5 distribution.jlam1-2/+2
2004-03-30Extend the capabilities of buildlink3's libtool wrapper a bit comparedjlam5-40/+76
to the stock libtool: you can now copy or symlink an uninstalled libtool archive file somewhere else than its build directory, and you can still link against it. This allows us to more easily bolt libtool build machinery onto packages that have unusual(ly crappy) build systems that rely on installing libraries to some common build directory after they're built. We do this by adding a "buildlibdir" variable to the uninstalled libtool archive that points to the build directory of the archive. Whenever we link against this archive, we rewrite the path to archive on the libtool command line so that it points to the true archive. This allows the real libtool to find the files under $buildlibdir/.libs.
2004-03-30Interix needs pkg_install 20040330 or later.tv1-1/+2
2004-03-30Generate fonts.dir correctly with the ttmkfdir2.recht1-2/+2
From PR 24968 by Jukka Salmi.
2004-03-29Use ttmkfdir2 by default.recht1-2/+2
Closes PR 24934 by Martin Husemann.
2004-03-29Use X11_TYPE check instead of USE_PKGSRC_XFREE86. It's safe to use thejlam1-8/+8
value of X11_TYPE here since it's defined in bsd.buildlink3.mk which is included before this check. This fixes breakage for packages that set USE_X11 due to USE_PKGSRC_XFREE86 not being defined before it's used.
2004-03-29When PTHREAD_TYPE is 'native' set USE_BUILTIN.pthread to YES andseb1-4/+4
add 'pthread' to BUILDLINK_PACKAGES so that BUILDLINK_{{LD,C}FLAGS,LDADD}.pthread actually have an effect. This should fix the build of at least tcl/tk related packages now that tcl and tk packages are thread-aware. Remove comments about linking native pthread libraries and headers into ${BUILDLINK_DIR} as this does not happen.
2004-03-29fix our idea of which platforms have bison.grant1-2/+2
2004-03-29Add and document MKTTINTERP.recht1-1/+9
2004-03-29Make lang/perl58 the default perl package installed when a package needsjlam1-16/+2
Perl as a dependency.
2004-03-29Set DFLT_PKG_SYSCONDIR to the location that PKG_SYSCONFDIR would havejlam1-20/+20
been set to if it hadn't been overridden by PKG_SYSCONFDIR.<pkg>. This can be used in /etc/mk.conf to re-override certain PKG_SYSCONFDIR.<pkg> in /etc/mk.conf from various package Makefiles, e.g. PKG_SYSCONFDIR.openssl= ${DFLT_PKG_SYSCONFDIR} PKG_SYSCONFDIR.tcp_wrappers= ${DFLT_PKG_SYSCONFDIR}
2004-03-29Allow setting BUILDLINK_WRAPPER_LOG in /etc/mk.conf and using that as thejlam1-1/+5
log file used by all of the wrapper scripts.
2004-03-29Handle "-Xlinker" being equivalent to "-Wl," when passing argumentsjlam1-11/+30
to the linker. This fixes a bug building Emacs on Linux.
2004-03-29Look at the list of run-time dependencies for the package (gleanedjlam2-16/+224
from BUILDLINK_PACKAGES, which is built up by including buildlink[23].mk files in the package's Makefile), and for each dependency, if it's already installed, then automatically include the buildlink[23].mk file for that dependency. This means that for any package, the dependencies are taken to be the union of the dependency information as laid out in /usr/pkgsrc and the dependency information of installed packages stored in /var/db/pkg. This handle situations where an installed package has _more_ dependencies than the package as it exists in pkgsrc. This can occur, e.g., if you build databases/gnome-libs with BDB_DEFAULT=db4, and then you decide that you'd rather build other packages using the native Berkeley DB, so you remove that setting from your environment. You'd still like for your packages that depend on gnome-libs to also depend on db4, but the pkgsrc Makefiles no longer reflect that dependency.
2004-03-29Make the list of files "buildlinked" be unique for cleanliness' sake.jlam1-1/+2
2004-03-29Instead of saving all of the buildlink3 variables into the command-linejlam1-4/+30
environment, it creates a Makefile fragment that is included within bsd.buildlink3.mk that contains all of the buildlink3 variable definitions that we want to pass to make(1) invocations on the same package Makefile. Change the make variables that are only relevant for the current package to use BUILDLINK_VARS instead of MAKEFLAGS. This avoids overflowing the command line with lots of extra arguments.
2004-03-29umask should be 002.tv1-2/+2
2004-03-28Remove USE_PKGSRC_XFREE86 which has been replaced by X11_TYPE=XFree86.xtraeme1-6/+1
2004-03-28Enable X11_TYPE=XFree86.xtraeme1-3/+3
2004-03-28Rearrange the wording slightly in an informational message, to avoidagc1-2/+2
some email filters and false positives.
2004-03-27Remove traces of automake-1.7.wiz1-6/+2
2004-03-27wrap a long line in BUILD_DEFS output, tweak the message slightly.grant1-3/+4
2004-03-27don't assume that /usr/bin/gunzip will exist, use /usr/bin/gzip -dgrant1-2/+2
instead.
2004-03-26Reverse the use of USE_DB185 in bdb.buildlink3.mk -- it defaults tojlam1-5/+10
"yes" and packages that can't use the DB-1.85 API should set it to "no". This makes the native DB the preferred DB if it exists.
2004-03-26Ensure that ${LOCALBASE}/lib is always in the runtime library search path,jlam1-1/+8
even for packages that have no dependencies.
2004-03-26Attribute "my thoughts" to the original author.jlam1-3/+3
2004-03-22If BULK_BUILD_CONF points to an absolute path, don't try to use itjschauma1-2/+6
with a leading "./".
2004-03-22Let _ONLY_FOR_PLATFORMS.sun-jdk14 recognize NetBSD 2.0 and future versions.kristerw1-2/+3
2004-03-22Due to the special handling of pkgtools/digest in pkgsrc (it must bejlam1-11/+18
installed before the normal dependency checks), on a system without any packages installed, we can run into the problem where digest won't install because it has already been installed as part of installing a build dependency. This can happen if, e.g., PKGSRC_COMPILER is set to "ccache gcc", and you try to build devel/gmake. Change the way that the uptodate-digest target installs pkgtools/digest by ensuring that pkgtools/digest is deinstalled just before installing it.
2004-03-21Move the code that includes the package builtin.mk files into a separatejlam2-39/+116
file, bsd.builtin.mk. Document the requirements and the recommended structure of a builtin.mk file in the comments at the top of bsd.builtin.mk.
2004-03-19Don't match "bin/libtool" and symlink into the buildlink directory ifjlam1-2/+2
libtool/buildlink3.mk is included by a package Makefile, as that symlink overwrites the libtool wrapper script. This fixes pkg/24851.
2004-03-19add another darwin linker option that needs to be protected fromdanw1-4/+5
path munging
2004-03-19When using imake and buildlink together, assert our definitions ofdanw1-1/+4
CC and CXX on the make command line, in case imake's definitions use complete paths (which would get around the buildlink wrappers)
2004-03-18don't assume there will always be broken packages. noted by wiz.grant1-2/+5
2004-03-18Back out part of previous that was an unrelated change accidentallyjlam1-107/+2
committed.
2004-03-18Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properlyjlam6-84/+183
by moving the inclusion of buildlink3.mk files outside of the protected region. This bug would be seen by users that have set PREFER_PKGSRC or PREFER_NATIVE to non-default values. BUILDLINK_PACKAGES should be ordered so that for any package in the list, that package doesn't depend on any packages to the left of it in the list. This ordering property is used to check for builtin packages in the correct order. The problem was that including a buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed from BUILDLINK_PACKAGES and appended to the end. However, since the inclusion of any other buildlink3.mk files within that buildlink3.mk was in a region that was protected against multiple inclusion, those dependencies weren't also moved to the end of BUILDLINK_PACKAGES.