summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2002-11-01When "make install" su's to root, su is invoked with the "-l" option, whichjlam1-1/+3
causes the shell environment to be discarded. This also discards OBJMACHINE or OBJHOSTNAME, which causes WRKDIR_BASENAME to be different between the "non-root" and "root" make targets and leads to the breakage seen in pkg/18879 by Simon Burge. Fix this by saving the OBJHOSTNAME or OBJMACHINE setting in MAKEFLAGS so that it is seen even after we "su -l" to root.
2002-11-01Whitespace and minor cosmetic fixes.jlam1-2/+2
2002-11-01Bump the pth dependency to pth>=1.4.1nb5, which ensures that we have thejlam2-4/+4
latest set of fixes and changes to pth to make it look more like a real pthreads package.
2002-10-31Copy the x11-links tree into ${BUILDLINK_X11PKG_DIR} (${BUILDLINK_DIR})jlam3-50/+37
if the package uses X11 and merge the BUILDLINK_X11PKG_DIR and BUILDLINK_X11_DIR variables into a single variable: BUILDLINK_X11_DIR. This creates a one-to-one mapping between X11BASE and BUILDLINK_X11_DIR, instead of X11BASE mapping to both BUILDLINK_X11_DIR and to BUILDLINK_X11PKG_DIR. Remove the now unused II and LL parts of the BUILDLINK_TRANSFORM language. Add a new "static" keyword to the mini-language and fix building statically-linked binaries when building with libtool.
2002-10-31Fix an oversight noticed by the eagle eyes of Nick Hudson - thanks, Nick!agc1-2/+2
2002-10-31Diffs to support the Wasabi port of the SuperH 5 evaluation boardagc2-3/+7
(sh5el), from Steve Woodford
2002-10-30BUILDLINK_X11_DIR also need to be protected.seb1-1/+4
2002-10-30Fix typo:seb1-3/+3
{II,LL}:src:dst1,dst2 -> {II,LL}:src:dst1:dst2
2002-10-30Add PKGCONFIG_OVERRIDE to get rid of tons of unnecessary patches.rh1-1/+14
PKGCONFIG_OVERRIDE may contain a list of ".pc.in" pkgconfig template files that require the addition of -Wl,-R in the pre-configure stage.
2002-10-30Move the sed command in _BLNK_{,UN}TRANSFORM_SED into a sed command filesjlam5-234/+238
.transform.sed and .untransform.sed that are generated by a new gen-transform.sh shell script. This avoids all of the silliness with exceeding the length of the value of a make variable that brought about breaking the original _BLNK_TRANSFORM_SED into _BLNK_TRANSFORM_SED.[1-4]. It's also vastly easier to understand the gen-transform.sh script as opposed to the juxtaposition of make and sed regular expressions, a.k.a. massive eyesores, that were in bsd.buildlink.mk. Also fix the directory protection scheme so that it might actually work if the pkgsrc directory is a subdirectory of /usr/pkg (${LOCALBASE}). Lastly, filter out /usr/X11R6 (${X11BASE}) if the package doesn't define USE_X11. This should catch packages that use X11 without announcing it, and avoids one way you can circumvent buildlink2.
2002-10-28Revert previous. There are extra quotes in COMMENT files created by makebouyer1-2/+2
package on NetBSD. Need to find another way to fix this.
2002-10-28Add quotes around ${COMMENTS} for PKG_ARGS_COMMON. This is needed forbouyer1-2/+2
Solaris's /bin/sh and doesn't do anything bad for NetBSD's /bin/sh.
2002-10-27Use ${LOCALBASE}/bin/gtar if it exists.bouyer1-1/+5
2002-10-23Remove comment about filtering out libtool archives that applied tojlam1-4/+2
buildlink1 but is no longer true with buildlink2.
2002-10-23Actually glib/buildlink.mk still uses this. Thanks wiz!jlam1-0/+170
2002-10-23Unless PKG_RCD_SCRIPTS=YES and RCD_SCRIPTS is non-empty, don't createjlam3-10/+12
${RCD_SCRIPTS_DIR} as it's not used at all.
2002-10-23Remove USE_LIBINTL and _DO_LIBINTL_CHECKS, which have been replacedwiz5-28/+5
by devel/gettext-lib/buildlink2.mk.
2002-10-23Only create RCD_SCRIPTS_DIR if RCD_SCRIPTS is defined and non-empty injlam1-1/+3
the package Makefile.
2002-10-22x11.buildlink.mk is no more so remove checks for X11_BUILDLINK_MK.jlam1-9/+6
2002-10-22Have USE_IMAKE imply USE_X11BASE imply USE_X11. Now we can just check ifjlam5-20/+26
USE_X11 is defined instead of USE_X11 || USE_X11BASE || USE_IMAKE.
2002-10-22Unused.jlam1-170/+0
2002-10-22Remove share/locale per PR 18649 by Lubomir Sedlacik.wiz1-3/+1
2002-10-21Grep for 'Make' in ${GMAKE} --version output for recording its version.seb1-2/+2
Compare... $ gmake --version GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for i386--netbsdelf Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Report bugs to <bug-make@gnu.org>. to... $ gmake --version GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2002-10-21Move X11BASE setting for Solaris to a more appropriate place now that wejlam1-3/+6
don't need to worry about USE_XPM.
2002-10-21Purge unused USE_XPM (use graphics/xpm/buildlink2.mk instead).wiz2-35/+2
2002-10-21Remove traces of now unused USE_XAW.wiz2-17/+2
2002-10-21Remove (currently unused) USE_LTDL code -- use libtool/buildlink2.mk instead.wiz1-5/+1
2002-10-21USE_GLX has been obsoleted a long time ago -- remove it here too.wiz1-6/+1
2002-10-21Remove USE_MESA -- now unused.wiz2-45/+3
2002-10-20Document RPM_DB_PREFIX:jlam1-1/+7
# Used in the rpm package to note the prefix of the path to the RPM # databases. The RPM databases are stored in ${RPM_DB_PREFIX}/lib/rpm. # Possible: any valid location, e.g. ${LOCALBASE} # Default: /var/pkg
2002-10-20Use :Q to quote COMMENT. Proposed by Alan Barrett.wiz1-2/+2
2002-10-20SAMBA_WITH_MSDFS is no longer needed...samba always builds with MSDFSjlam1-6/+1
support now.
2002-10-20SETUID_ROOT_PERMS is a convenience definition to note an executable isjlam1-1/+7
meant to be setuid-root, and should be used as follows: SPECIAL_PERMS+= /path/to/suidroot ${SETUID_ROOT_PERMS}
2002-10-20Gmake's configure does not support anymore --disable-nsec-timestamps.seb1-7/+1
So remove it and associated variable.
2002-10-20Remove obsolete USE_FREETYPE2 support; all users have been converted to usewiz2-27/+2
freetype2's buildlink2.mk.
2002-10-20Generate the INSTALL/DEINSTALL scripts at post-build time, and use properjlam1-8/+19
make dependencies to ensure that the actual scripts are up-to-date if the sources are changed.
2002-10-20Generate the rc.d scripts at post-build time and use proper makejlam1-12/+12
dependencies to deal with changes in the source rc.d script file (this is possible now that some variables have moved to bsd.prefs.mk from bsd.pkg.mk).
2002-10-19Move some variable definitions from bsd.pkg.mk to bsd.prefs.mk so thatjlam2-34/+38
they may be used in conditional statements in *.mk files before bsd.pkg.mk is included.
2002-10-191. Strip out nb? suffix from EMACS_VERSIONminoura1-4/+8
2. New variable PKGNAME_PREFIX, which is either null string or xemacs- depending on EMACS_FLAVOR. Intended to use like: DEPENDS+= ${PKGNAME_PREFIX}apel>=10.4:../../devel/apel BUILD_DEPENDS+= ${PKGNAME_PREFIX}apel>=10.4:../../devel/apel
2002-10-19Substitute for ${RCD_SCRIPTS_DIR} in MESSAGE files.jlam1-1/+2
2002-10-18Make fake-la work on a.out machines. Fix based on patch in pkg/18694jlam2-3/+18
by itohy@netbsd.org.
2002-10-17Only delete scripts in RCD_SCRIPTS_DIR if PKG_RCD_SCRIPTS is YESheinz1-8/+10
(approved by jlam).
2002-10-17Use mtree and pkg_* from bootstrap-pkgsrc if they exist.grant1-1/+7
ok'd by agc.
2002-10-16fine tar in /bin, or /usr/binitojun1-1/+5
2002-10-14Knock off a TODO item: when generating the internal list of acceptablejlam1-11/+30
JVMs from the package-provided PKG_JVM_ACCEPTED list, filter out those JVMs that aren't available for the current platform. This allows a package to simply list all JVMs that may be used to build it in PKG_JVM_ACCEPTED, regardless of platform issues, instead of having to construct a different PKG_JVM_ACCEPTED based on the platform we are using.
2002-10-14Back out previous...accidentally committed work-in-progress.jlam1-23/+10
2002-10-14Allow for a way to specify which JVMs are acceptable for eachjlam1-10/+23
platform, and use the intersection of these JVMs and the ones listed in PKG_JVMS_ACCEPTED as the JVMS that may really be used. Currently, we assume all of the JVMs are usable by all platforms.
2002-10-14Fix typo (missing leading underscore), and add a currently unreachablejlam1-2/+11
section that errors out if there is no acceptable JVM found.
2002-10-13Add support for enabling MSDFS in Samba.kim1-1/+6
2002-10-13Reorder EVAL_PREFIX, PKG_JAVA_HOME, and CLASSPATH sections so thatjlam1-40/+47
EVAL_PREFIX is evaluated at the correct time so that the variables it defines are usable by the CLASSPATH code and the buildlink2 code.