summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
AgeCommit message (Collapse)AuthorFilesLines
2004-03-11Use ${DO_NADA} to introduce a do-nothing line (as is done elsewhere intv1-11/+12
pkgsrc); simply # makes older bmake hork up in combination with some shells.
2004-03-09Change LIBTOOL_REQD to recent libtool version, 1.5.2nb4. (Thisreed1-2/+2
libtool-base includes "Fix version_type settings for the non-NetBSD platforms in the CXX and F77 cases." And "Pull in the fix for the symlink vulnerability.") Several packages have been changed to reflect the better libtool-base, but old LIBTOOL_REQD allowed old 1.4.2 version. So new packages had wrong library versioning like: libasprintf.so.0.0, libsvn_delta-1.so.0.0, and libXrender.so.0.0. Okayed by wiz@.
2004-03-09Remove "ftp.gwdg.de" from "MASTER_SITE_GNU" because its mirror istron1-2/+1
apparently not updated any more.
2004-03-02extend REPLACE_INTERPRETER to accept shell wildcardsdrochner1-3/+5
2004-02-28need to escape ) in the awk regex in do-config-status-override target;jdolecek1-2/+2
some pickier awks (e.g nawk) refuse the regex otherwise
2004-02-27Instead of wrapping the config.status script, edit it directly to preventjlam1-16/+8
--recheck from re-executing the configure script by inserting "exit 0" judiciously. This works with configure scripts generated by autoconf>=2.13 and fixes problems with running config.status on Solaris systems where /bin/sh isn't POSIX enough.
2004-02-25s/netbsd.org/NetBSD.org/, s/freebsd.org/FreeBSD.org/grant1-8/+8
2004-02-21Rename PATH_ENV to BUILD_ENV, which better expresses what it's for.jlam1-9/+12
BUILD_ENV is used to set the environment for the sub-make processes that are invoked for each phase after and including buildlink.
2004-02-18* Move pkgsrc/mk/compiler/bsd.compiler.mk to pkgsrc/mk/compiler.mk.jlam1-8/+11
Package Makefiles may now directly include compiler.mk. * Don't include compiler.mk within bsd.prefs.mk any longer. It was only included for the purposes of defining CC_VERSION. Packages that want to test the value of CC_VERSION should now first include "../../mk/compiler.mk". Any GCC_REQD statements in package Makefiles should be set before compiler.mk is included. * Simpllfy pkgsrc/mk/compiler/*.mk files as a result of not needing to be included indirectly by bsd.prefs.mk. We remove the special handling associated with detecting whether the file was included from within bsd.prefs.mk. These files are now much more straightforward to write and understand. * G/C the BSD_PREFS_MK stack mechanism as the only users (compiler/*) no longer need it. * Ensure that directories are prepended to the PATH only from within bsd.pkg.mk.
2004-02-17G/C the unused GNU_MISSING_OVERRIDE logic, as we don't need it anymorejlam1-14/+1
after the changes in revision 1.27 of tools.mk to hide the auto* tools between pre-configure and do-configure.
2004-02-16Be less aggressive about overriding all of the functionality ofjlam1-4/+15
config.status. Instead, only block "config.status --recheck", which re-executes the GNU configure script. This still allows config.status to overwrite post-configure changes to Makefiles and config.h files, so those changes should (properly) be applied to Makefile.in and config.h.in instead.
2004-02-16Handle compressed info files in PLIST handling.seb1-4/+5
2004-02-16Quote '+' in awk regexp related to PLIST and INFO_FILES.seb1-3/+3
As seen in devel/libg++ with its libg++.info file...
2004-02-14Use relative to ${WRKSRC} pathnames in do-gnu-missing-override targetseb1-6/+5
by cd'ing into it. Also symlink the missing script instead of copying it.
2004-02-14Make LIBTOOL_OVERRIDE more powerful by taking a list of shell globsjlam1-21/+22
relative to ${WRKSRC}. Also automaticslly set LIBTOOL_OVERRIDE if USE_LIBTOOL is defined, as the vast majority of packages need both if they need USE_LIBTOOL. The default LIBTOOL_OVERRIDE overrides libtool scripts up to a directory depth of 2 within ${WRKSRC}. Note that SHLIBTOOL_OVERRIDE must still be set manually in package Makefiles that need it; however, it's also been changed to be a list of shell globs relative to ${WRKSRC}.
2004-02-14Make CONFIG_{GUESS,SUB}_OVERRIDE slighly more powerful by allowing them tojlam1-11/+23
be lists of shell globs relative to ${WRKSRC}.
2004-02-14Change into ${WRKSRC} first so that shell globs expand properly.jlam1-6/+6
2004-02-14Some shells barf if the for loop list is empty, so avoid that.jlam1-3/+3
2004-02-14Default to overriding config.status after GNU configure has been run. Wejlam1-7/+20
don't want it to execute during the build phase as it might overwrite post-configure changes we might have made to the generated files. Packages that don't want this behaviour can simply set: CONFIG_STATUS_OVERRIDE= # empty in the package Makefile.
2004-02-14deprecate Zoularis: remove any tests for ZOULARIS* and bomb ifgrant1-20/+4
${LOCALBASE}/bsd/share/mk/zoularis.mk exists.
2004-02-14GNU configure scripts generated by newer autoconf sometimes try tojlam1-5/+5
save the value of LDFLAGS, CPPFLAGS, etc. in the config.cache file. However, they don't store the value correctly if it contains leading spaces. This leads to sub-configure scripts that examine to cache to error out saying that the build environment changed. Use a make variable trick to strip off all of the leading spaces on these variables when passing them via CONFIGURE_ENV.
2004-02-14if using GNU configure and CONFIG_{GUESS,SUB}_OVERRIDE is not defined,grant1-1/+8
default to overriding ${WRKSRC}/config.{guess,sub} so packages can recognise platforms such as NetBSD/shark.
2004-02-13Fix spelling of "suffixes". From Todd Vierling in PR 24400.wiz1-11/+11
2004-02-13Allow more case variations on "Makefile" to be included in USE_PKGLOCALEDIRsketch1-3/+3
transformations.
2004-02-12typo in commentjlam1-2/+2
2004-02-12Enable EXTRACT_{ONLY,SUFX}= .rar. Ok'ed by jlamxtraeme1-1/+7
2004-02-12Always add --x-{includes,libraries}=${X11BASE}/{include,lib}seb1-2/+2
to CONFIGURE_ARGS if USE_X11 is defined i.e no need to special case xpkgwedge usage. Please note that previously these were added to CONFIGURE_ARGS as soon as xpkgwedge was used even if the package did not actually defined USE_X11 or something implying it.
2004-02-12Double-check that the files named in GNU_MISSING_OVERRIDE actually existjlam1-4/+6
before replacing them.
2004-02-12GNU_MISSING_OVERRIDE is a list of files relative to ${WRKSRC} that arejlam1-1/+13
replaced by pkgsrc/mk/gnu-config/missing. This avoids requiring autoconf and automake as hidden build dependencies when they're not ever invoked by the build process.
2004-02-12Remove trailing whitespace.jlam1-12/+12
2004-02-12Several GNU configure scripts (old ones, typically) can't handle it whenjlam1-2/+2
"${MAKE}" contains forward slashes. Just pass the bare name of ${MAKE} to the configure phase as we ensure that "make" is always calling the correct one symlinked into the .tools directory.
2004-02-12Make pathnames listed in CONFIG_STATUS_OVERRIDE relative to WRKSRC.seb1-5/+5
2004-02-11Add another mirror to MASTER_SITE_SUSE, needed for emulators/suse_x11xtraeme1-1/+2
package.
2004-02-10The values of CC are CC_VERSION are redundant. Just use CC_VERSION. Wejlam1-2/+3
record it only if the package actually used the compiler.
2004-02-10Turn PERL5_REQD into a list of values, the highest of which will be usedjlam1-17/+38
to choose the correct Perl dependency.
2004-02-09Limit xargs to 256 args when passing args to ls for the package sizejlam1-2/+2
computation. The motivation for this is that kdelibs3 was overflowing ls through xargs.
2004-02-09Also turn shlibtool into a shell script instead of a symlink. Thisjlam1-3/+8
duplicates the change made in rev. 1.1368 for libtool.
2004-02-09We need the full path to the libtool that needs to be invoked when wejlam1-4/+13
use LIBTOOL_OVERRIDE. In the buildlink[23] case, that is supposed to be the one in ${BUILDLINK_DIR}. Create new private variables _LIBTOOL and _SHLIBTOOL to hold these paths.
2004-02-08It's not PKGSHLIBTOOL anymore but PKG_SHLIBTOOL.seb1-2/+2
2004-02-08Use ${PKG_LIBTOOL} to refer to the full path to the real libtool.jlam1-3/+3
2004-02-08* Let CC/CXX/CPP/FC always point to the compiler used in the actualjlam1-9/+9
building of software. For packages that use either buildlink2 or buildlink3, this would be the wrapper script in ${BUILDLINK_DIR}. * Garbage-collect _BLNK_WRAP_SETENV.* as those are not needed after the above changes. Configure and make processes will automatically find the right compilers in the PATH. * PKGLIBTOOL and PKGSHLIBTOOL are no longer needed since LIBTOOL and SHLIBTOOL point to the correct libtools regardless of any USE_BUILDLINK[23] definitions.
2004-02-07Don't pass PREPEND_PATH via MAKEFLAGS as that overrides whatever valuejlam1-9/+10
that we're trying to compute for PREPEND_PATH. Instead, pass it through the environment.
2004-02-06If we're passing through MAKEFLAGS variables whose values may containjlam1-5/+5
spaces, use the :Q modifier instead of double-quoting the value. This fixes breakage when executing the just-in-time su targetes.
2004-02-06Allow an empty USE_LANGUAGES setting to not break in show-shlib-type.jlam1-7/+7
If we're not compiling anything, we're likely not installing any shared libraries.
2004-02-06We only prepend a directory to the PATH if we haven't already done sojlam1-7/+14
(by checking PREPEND_PATH) and only for those phases of the build that care about the PATH (buildlink or later). We also pass the PATH to those same phases of the build so that executing ${CC} will work correctly from custom {pre,do,post}-* targets that occur at buildlink time or later.
2004-02-05Back out bikeshed material added in rev. 1.1371hubertf1-2/+2
2004-02-05Pass the PATH when executing ${CC} so that the compiler may be found whenjlam1-1/+2
CC is something like ccache or distcc that relies on finding the true compiler in the PATH.
2004-02-05When a pkg is already found install, tell the user to 'make deinstall'hubertf1-2/+2
instead of running pkg_delete to be consistent with the other commands (which all use 'make ...').
2004-02-05Include bsd.compiler.mk inside both bsd.pkg.mk and bsd.prefs.mk and definejlam1-2/+6
a stack-like mechanism in bsd.prefs.mk to detect when a we're inside bsd.prefs.mk.
2004-02-02Kerberos-using packages now set CRYPTO, not RESTRICTED. Approved by pkgsrcjlam1-2/+2
PMC.