summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2005-06-20Until pkgsrc gets a databases/db1 package, we must always prefer thejlam1-1/+6
native db1 package because the alternative doesn't yet exist.
2005-06-20Allow for explicit PREFER.<pkg> settings to override PREFER_NATIVE andjlam1-6/+7
PREFER_PKGSRC.
2005-06-17The OpenBSD chgrp and chown can be in different places depending on thejlam1-1/+9
OpenBSD release, so check for the right location.
2005-06-17Pull out the LS and TR definitions from algae/Makefile and place themjlam1-1/+3
in tools/defaults.mk where they can be more widely used.
2005-06-17PERL_PATH is also a common GNU configure script variable for the path tojlam1-2/+2
the perl interpreter.
2005-06-16Use tabs, not spaces.salo1-2/+2
2005-06-16provide defaults for bzcat and tbl to avoid unnecessary buildgrant1-1/+9
dependencies on archivers/bzip2 and textproc/groff when they are available in the base system.
2005-06-15Avoid generating a blank line as the first command of a target as thatjlam1-1/+2
isn't understood by some make programs, e.g. /usr/ccs/bin/make.
2005-06-14Allow the test for whether the file is a text file to be overridden viajlam1-2/+3
CHECK_WRKREF_IS_TEXT_FILE.
2005-06-14Require xpkgwedge>=1.14 so that the correct make is always invoked onjlam1-2/+2
Solaris and Linux, regardless of whether we use the same make to build the software or not.
2005-06-14We need xpkgwedge whenever we use imake.jlam1-2/+4
2005-06-14Require xpkgwedge>=1.13 when used as a build dependency so that thejlam2-4/+3
correct make(1) program is invoked by pkgxmkmf.
2005-06-14Make IMAKE_TOOLS into a publicly-readable variable so that it can bejlam2-6/+6
used by pkgtools/xpkgwedge.
2005-06-14We only need to set USE_X11BASE, run install.man, and override thejlam1-3/+6
compiler (CC/CXX) if we're actually using imake to generate Makefiles for building and installing software. This fixes errors in various KDE-3.x packages that use imake for other purposes.
2005-06-13In the check-wrkref target, change the algorithm so that text filesjlam1-7/+20
are checked for ${WRKDIR}, but all files are checked for ${TOOLS_DIR} (assuming that ${TOOLS_DIR} is in ${WRKDIR}). Also, let CHECK_WRKREF_PKG set the name of the package to check.
2005-06-12Separate the message from the do-distribution-patch and do-pkgsrc-patchjlam1-7/+13
targets so that if they're overridden in the package Makefile, the message is still printed.
2005-06-12Rename "apply-distribution-patches" and "apply-pkgsrc-patches" targetsjlam1-7/+13
to "do-distribution-patch" and "do-pkgsrc-patch", respectively, and allow them to be overridden by the package Makefile. This allows for more fine-grained overriding of the patch process.
2005-06-11Allow this file to be included even if no options are supporteddillo1-6/+9
(as may be the case if all options are platform specific). In that case set PKG_OPTIONS to empty and skip the rest of the file. Okayed by jlam.
2005-06-11Remove unnecessary .undef lines after .for loops as the loop variablesjlam6-27/+6
are automatically undefined after the loop exits.
2005-06-11Add a default fall-through for the shell case statement (portabilityjlam1-1/+2
issue).
2005-06-10check-wrkref is a make target that greps through the installed filesjlam1-1/+56
for a package and looks for references to the build directory. If any such references are found and PKG_DEVELOPER is defined, then exit with an error. This target is automatically run after a package is installed if CHECK_WRKREF is "yes". The default value for CHECK_WRKREF is "no". You can specify certain files to be skipped during the check by setting CHECK_WRKREF_SKIP to a list of shell globs. Installed files that match these globs are skipped when running the check-wrkref target. The original implementation was from Dan McMahill sent to me in private email. I've added a few more bells and whistles for this commit. This target will be helpful for catching any unwrapped files or mis-embedded tool paths.
2005-06-10Force an autoconf "cache" override for tools that are likely to bejlam1-2/+5
shell builtins, e.g. echo, false, test, true, since those tools don't have a full path.
2005-06-10mk.conf needs to be backed up as part of the bootstrap files.sketch1-2/+2
2005-06-09Fixed a typo.rillig1-2/+2
2005-06-09Fix harmless typo.jlam1-2/+2
2005-06-09Forgot the strip the comma when removing "-Wl," from the the nextjlam1-2/+2
argument during argument merging.
2005-06-09General improvements to the changes-entry target:jlam1-10/+20
* Improve the documentation. * Avoid running commands during Makefile processing by using the :sh modifier instead of defining variables using != * Add a new variable PKGSRC_CHANGES that holds the path to the CHANGES file to be modified. * Use ${ID} and ${DATE}, which are provided by the tools framework and avoid PATH issues.
2005-06-09Don't reinvent PKGPATH, which already contains just the "category/package"jlam1-3/+2
portion of the path.
2005-06-09Add a documentation block above the changes-entry target.jlam1-1/+16
2005-06-09Delay running of id until it is needed. Fixes PR 30477 by Neil Hoggarth.wiz1-5/+3
2005-06-09Rewrite the USE_BUILTIN.pthread section a bit so that it more closelyjlam1-3/+5
matches the template in bsd.builtin.mk. This causes USE_BUILTIN.pthread to be cached, which is useful at least for debugging purposes.
2005-06-09Clarify why dlopen.builtin.mk ignores PREFER_* values.jlam1-1/+6
2005-06-08Add changes-entry target, which adds an entry for the current packagewiz1-1/+22
into pkgsrc/doc/CHANGES. The type of the entry depends on what CTYPE is set to, which defaults to "Updated". Other possible values are "Added", "Renamed", "Moved", and "Removed". An example usage would be: cd /usr/pkgsrc/category/package make changes-entry CTYPE=Added after you added a new package, and similar for the others. If NETBSD_LOGIN_NAME is not set in /etc/mk.conf, it defaults to your local login name.
2005-06-08Fix variable name in comment: it is PKG_OPTIONS_VAR, with an S.wiz1-2/+2
2005-06-08Print the full path to broken or modified patches that aren't applied.jlam1-4/+6
This also fixes the problem where the names of broken local patches (in ${LOCALPATCHES}) weren't printed correctly in the error message.
2005-06-08fix variable name in example commentdillo1-2/+2
2005-06-08Add description for emacs-xaw3d.markd1-0/+1
2005-06-08Remove obsolete EMACS_USE_XAW3D.markd1-6/+1
2005-06-08The USE_BUILTIN.dl code got too complex in the previous commit.jlam1-22/+4
Simplify it so that USE_BUILTIN.dl is simply IS_BUILTIN.dl except for Darwin's special case. This makes PREFER_PKGSRC=yes work again on NetBSD instead of causing USE_BUILTIN.dl=no to be set, which is impossible.
2005-06-08Properly turn:jlam1-1/+32
-Wl,-rpath -Wl,/dir1:/dir2:/dir3 into: -Wl,-rpath,/dir1 -Wl,-rpath,/dir2 -Wl,-rpath,/dir3 Do the same for -Wl,-R and -Wl,-rpath-link. This makes the wrapper scripts pass the test in regress/buildlink-transform/rpath-merge.mk and fixes PR pkg/27702.
2005-06-08Update comment to reflect implementation.jlam1-2/+2
2005-06-08Remove part of comment that is no longer true.jlam1-5/+2
2005-06-07Add description for mjpegtools-cmov, from Geert Hendrickx in PR 30366.wiz1-0/+1
2005-06-07Add another common name for the GNU configure variable name used for thejlam1-2/+2
"env" tool.
2005-06-07Add a few more GNU configure variable names that are commonly used.jlam1-2/+7
Also, some configure scripts use "ENV" to represent the path to the "env" tool, which is probably bad since ENV has a special meaning to /bin/sh. To workaround this, set ac_cv_path_ENV.
2005-06-06make legacy variables external:dillo2-20/+38
PKG_LEGACY_OPTIONS PKG_OPTIONS_DEPRECATED_WARNINGS
2005-06-05Force libtool-base-1.5.18nb3 on DragonFly.tv1-1/+2
2005-06-05Fixed a typo in a comment.rillig1-2/+2
2005-06-04IMAKE_FILEMAN_SUFFIX is 4 on Solaris and (as I read it) OSF1 and UnixWare.markd3-10/+9
2005-06-04Added a leading underscore to the names of the *_COOKIE variables, as theyrillig3-63/+63
are not part of the public interface.