summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2001-07-26Force move new file over old one in REPLACE_PERL (at least one packagewiz1-2/+2
needs that).
2001-07-26Close a quote.hubertf1-2/+2
Noted by Will Andrews <will@physics.purdue.edu> in private mail.
2001-07-25If USE_BUILDLINK_ONLY is defined, then use f2c/buildlink.mk instead ofjlam1-1/+5
directly adding a dependency on f2c.
2001-07-25Note sun-jdk is a valid PKG_JVM, plus correct PACKAGE_JVM to PKG_JVM refabs1-7/+7
2001-07-25Change the EVAL_PREFIX logic so that ifjlam1-2/+7
EVAL_PREFIX= FOODIR=foo is defined, then FOODIR's value is only saved if the package foo was found. This causes FOODIR to keep being reset until the package foo is installed, which makes EVAL_PREFIX work properly with buildlink.mk files. This should fix various problems people have been having with files not being linked in when a dependency is built via a "make build" in a package that uses that dependency further up the chain.
2001-07-24Add more debugging code to note when a file to be linked can't be found.jlam1-1/+4
2001-07-24Only create <sys/soundcard.h> if <soundcard.h> exists.jlam1-2/+3
2001-07-23Add variable to make navigator/communicator _not_ depend on flash, andwiz1-1/+7
document it in mk.conf.example. Adresses pkg/13343.
2001-07-23Record files that are linked into ${BUILDLINK_DIR} in the cookie filesjlam1-4/+8
to aid in debugging problems.
2001-07-21don't try and do 'mount -o async -u /usr' because we don't know that the userdmcmahill1-3/+1
even has a file system called /usr or that thats the right one.
2001-07-21if an outdated package is still installed and 'make deinstall' failsdmcmahill1-1/+5
to remove it, then try again with 'pkg_delete -r'. This can happen when some other out date pacakges are installed and we're trying to bulk build a single package.
2001-07-20Make the example buildlink.mk file more complete by showing howjlam1-2/+5
dependencies on the package are added through buildlink. Also show how to use EVAL_PREFIX to set BUILDLINK_PREFIX.foo.
2001-07-18Change indentation (whitespace changes only!):hubertf1-322/+322
.if .if .if . if .else => . else .endif . endif .endif .endif Patch contributed by Marc Espie <espie@liafa.jussieu.fr> in preparation of merging latest changes with the OpenPackages project. Thanks Marc!
2001-07-17Switch solaris default LOCALBASE across to /usr/pkgabs1-2/+14
2001-07-15Rename "FILE" to "FILE_CMD" since ".for FILE" is a common idiom in BSDjlam4-10/+10
makefiles, and this interferes with the conditional definition of FILE in defs.*.mk.
2001-07-14Add a buildlink.mk file to put OSS audio headers and libraries intojlam1-0/+46
${BUILDLINK_DIR} in Linuxish locations.
2001-07-13if a package subdirectory is listed in the category makefile, but doesn'tdmcmahill2-15/+27
exist, then spit out a big warning to stderr (since we often capture stdout for other purposes) and don't try and descend to that directory.
2001-07-13Improve Java handling via "USE_JAVA" option:tron1-7/+17
- The "sun-jre" and "sun-jdk" packages can now be directly selected by setting "PKG_JVM" to "sun-jdk". "JAVA_HOME" is set to "${LOCALBASE}/java/jre/bin" in this case which fixes PR pkg/11901 by myself. - Only set "CLASSPATH" to "${JAVA_HOME}/lib/classes.zip" if that file really exists.
2001-07-13Add definitions for CMP pointing to cmp utility and use it in bsd.pkg.mk.jlam4-7/+10
2001-07-10Check if "${X11BASE}/lib/X11/config/X11.tmpl" exists before searchingtron1-3/+5
with "grep" through it in Mesa library handling.
2001-07-10Add new variable "SPARC_TARGET_ARCH" used to select the target architecturetron2-2/+10
under Solaris/SPARC. Default is "sparcv7".
2001-07-10Fixes for "tarup" target:tron1-1/+3
- Add missing "${_PKG_SILENT}${_PKG_DEBUG}" in front. - Create category directories as required.
2001-07-10Add new "tarup" target which allows to create a binary package from antron1-2/+14
installed package with the "pkg_tarup" utility.
2001-07-10Use ":=" in assignment of "ZOULARISBASE" because "LOCALBASE" might gettron1-2/+4
redefined later.
2001-07-09* Make perl stop installing anything in the man3 directory. It's startingtv1-2/+1
to install things like "open.3" and "lib.3" which confuse users. Perl ships with a documentation tool, "perldoc", for this purpose; create a MESSAGE indicating that it should be used instead. (Perl still installs command line program manual pages in man1.) * Integrate bsd.perl.mk into the perl5-base build where it should have been from the beginning. The separate perl-mk pkg makes binary packages of perl-mk completely useless[*]. Older perl builders will not break, since <bsd.pkg.mk> contains fallback definitions that are evaluated at pkg build time. ===== [*] bsd.perl.mk is tightly bound to the version of perl that is installed. The version name "perl-mk-1.1" is completely useless as a binary pkg, since keeping multiple binary versions of perl on a FTP server means that one of the perl-mk's will get clobbered. However, putting the current pkgsrc PERL5_DIST_VERS in the perl-mk pkg is also a problem, because that doesn't necessarily reflect the installed version of perl. Snarfing the installed version at perl-mk build time would be even uglier, since you could not then walk the tree without perl being installed. The cleanest solution is to integrate bsd.perl.mk into the perl5-base pkg, and let those who have not upgraded perl yet use the runtime definitions in <bsd.pkg.mk>.
2001-07-09Provide missing parenthesis for CHECK_XPM.fredb1-3/+2
2001-07-09consolidate a duplicated part of the script.dmcmahill1-6/+10
2001-07-09when saving the rsync script for later, be sure and save the startingdmcmahill1-0/+4
directory too.
2001-07-08teach the upload script about OSVERSION_SPECIFIC packages so one can putdmcmahill2-9/+92
them in the right place. For example, a collection of binary packages can now put uploaded with most going to the major.minor directory and the OSVERSION_SPECIFIC ones going to the major.minor.patch directory. still todo: the destination settings should probably be moved out of build.conf so the same build.conf can be used by multiple machines of different MACHINE_ARCH's at the same time. Perhaps these should be a command line option to 'upload' instead.
2001-07-07add OSVERSION_SPECIFIC to BUILD_DEFS if defined so it ends up in the binarydmcmahill1-1/+5
package. This way we can look at a binary package and determine what versions of the OS it may run on.
2001-07-06Check if "${X11BASE}/lib/X11/config/X11.tmpl" before searching withtron1-2/+3
"grep" in it to avoid problems under Solaris.
2001-07-06Fix quoting problem in Solaris's "/bin/sh".tron1-2/+2
2001-07-05bsd.prefs.mk: Make OBJECT_FMT work on NetBSD 1.3abs1-1/+12
2001-07-05Update buildlink-x11 to 0.6. Changes include moving the custom overridesjlam1-2/+2
of X11.rules settings below the inclusion of <X11.rules>. This should cause overrides to work correct for XFree-3.3.x systems.
2001-07-05Document the logic that sets XMKMF_CMD.jlam1-1/+3
2001-07-05Update buildlink-x11 to 0.5. Changes from previous version are thejlam1-5/+12
addition of the xmkmf script from the XFree86-4.0.x distribution, which understands passing -D options through to imake. Update the dependency on buildlink-x11 in bsd.pkg.mk for packages using USE_BUILDLINK_ONLY to >=0.5. Also, if USE_BUILDLINK_X11 is set, then refer to ${BUILDLINK_DIR} for location of X headers and libraries.
2001-07-04fix a problem with HAVE_BUILTIN_XPMperry1-2/+2
2001-07-03Add GNU_ARCH.powerpc. This fixes some of the recent problems experiencedmjl1-1/+2
on macppc compiling packages. XXX This should come from bsd.own.mk but doesn't. Why?
2001-07-02buildlink-mk requires that BUILDLINK_DIR always be set, so set it ifjlam1-1/+3
undefined and pass it through MAKE_ENV.
2001-07-02Bump build-dependency on xpkgwedge to >=1.5, and add a build-dependencyjlam1-10/+16
on buildlink-x11 if USE_BUILDLINK_ONLY is defined. Pass all of CPPFLAGS/CFLAGS/CXXFLAGS/LDFLAGS to buildlink-x11 through PKGSRC_* versions of those values. Also add preliminary support for USE_BUILDLINK_X11 for buildlinking X11R6 instead of USE_X11 (hi zuntum!).
2001-07-02Make check for Xpm in XFree86 look like the checks for Mesa and freetype2.jlam2-13/+22
2001-07-02For aesthetic reasons, sort the *.lai files found during replace-buildlink.jlam1-2/+3
2001-07-02Merge buildlink-fix-libtool-archives and buildlink-fix-config-scriptsjlam1-41/+25
into one target: replace-buildlink. Get rid of BUILDLINK_FIX_LIBTOOL_SED as it can be handled with REPLACE_BUILDLINK_SED.
2001-07-01Change example to have bsd.buildlink.mk file included at start of ajlam1-7/+11
package buildlink.mk file. Also change BUILDLINK_CONFIG_WRAPPER_SED.<pkgname> to BUILDLINK_CONFIG_WRAPPER_SED.
2001-07-01Make sure the -DBuildLink gets passed through to subdir Imakefiles ifjlam1-2/+2
BuildLink is defined. Bump xpkgwedge version number to 1.4 and increase xpkgwedge dependency version in bsd.pkg.mk.
2001-06-30Resurrect LIBTOOL_OVERRIDE. It's needed for lesstif-0.92.32 which usesjlam1-1/+10
the latest libtool in its sources (there's no ltconfig, only ltmain.sh).
2001-06-29Bump build dependency on xpkgwedge to >=1.3 to handle buildlink.mk filesjlam1-3/+10
properly for imake-using packages, and cause pass -DBuildLink to xmkmf (and thus to imake) if USE_BUILDLINK_ONLY is defined.
2001-06-29If USE_BUILDLINK_ONLY is set, then also set USE_CONFIG_WRAPPERjlam1-1/+9
automatically.
2001-06-28Create new variable BUILDLINK_CONFIG_WRAPPER_SED.<pkgname> that is addedjlam1-3/+7
to the sed expression used in the generated config script wrappers.
2001-06-28Update MASTER_SITE_XCONTRIB server list, inspired by a posting to tech-pkgwiz1-2/+12
by Jim Bernard <jbernard@mines.edu>.