summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
AgeCommit message (Collapse)AuthorFilesLines
2001-10-03Add "prdownloads.sourceforge.net" as primary site to the of listtron1-2/+3
sourceforge download servers. It is the fastest one from "ftp.netsd.org" and my home system.
2001-10-01Allow customizing the message for _SU_TARGET by substituting for "$action",jlam1-2/+5
where action can be "install", "package", "create user for", etc., instead of blindly always saying "install". Define "action" before calling ${_SU_TARGET} whereever it is used.
2001-10-01Have x11.buildlink.mk add -Wl,-R${X11BASE}/lib to LDFLAGS directly, insteadjlam1-3/+3
of relying on bsd.pkg.mk to do it. This change just makes x11.buildlink.mk more self-sufficient. Also add a warning that x11.buildlink.mk shouldn't be included in any buildlink.mk files since what it appends to *_POST_SED variables must come last.
2001-09-30Add 'show-installed-depends' - neat implementation thanks to Hubert.abs1-1/+9
2001-09-25I have no idea where it got broken, but put back the creation of .package_donemycroft1-1/+2
files.
2001-09-24Fix cut and paste error in last commit.tron1-3/+3
2001-09-24Add "PKGVERSION" to "PLIST_SUBST" by default. Trailing package sourcetron1-1/+2
version numbers (e.g. "nb1") are automatically removed.
2001-09-14Fix problem with Solaris' /bin/sh not accepting an empty list in a forjlam1-2/+3
loop noted in pkg/13894 by Stoned Elipot <Stoned.Elipot@script.jussieu.fr>. The suggested fix was applied.
2001-09-14Document the new Motif-related variables. Deprecate USE_MOTIF in favor ofjlam1-60/+10
including motif.buildlink.mk, which contains more sophisticated and complete logic for detecting the various Motif options that may be installed. Though deprecated, USE_MOTIF is still recognized, though it does no more than include motif.buildlink.mk.
2001-09-12Add a just-in-time su mode for "make package" by factoring out the codeagc1-29/+34
whcih does the su(1), and using that. Also make the deinstall target use the same common code.
2001-09-11Make print-PLIST work again if no linux=procfs mounted.wiz1-6/+9
Patch by hubertf.
2001-09-10Add support for two environment variables to help update all yourmartin1-1/+12
installed packages and only rebuild everything once: STOP_DOWNLEVEL_AFTER_FIRST if set makes "make show-downlevel" stop a bit earlier (since with the other one below you will be only interested in the first downlevel pkg found). REBUILD_DOWNLEVEL_DEPENDS if set forces the pattern match for dependencies to fail whenever the installed pkg is not the version in the makefile (i.e. "make show-downlevel" would print a version mismatch for the dependecy). This causes all downlevel dependencies (and everything depending on them) to be rebuild. Enhancements, like making this all work with make command line flags and settings in /etc/mk.conf are welcome. A way to stop "make show-downlevel" through all upper levels of recursion imediately would be very usefull too.
2001-09-10Set the default value of WRKSRC in a slightly different way (from Hubertagc1-3/+2
Feyrer).
2001-09-10Define default value of WRKSRC again. It is required by the packages withoutkei1-1/+3
NO_WRKSUBDIR.
2001-09-09Deprecate NO_WRKSUBDIR, replacing it with an explicit assignment of:agc1-4/+5
WRKSRC= ${WRKDIR} This is much cleaner, much more indicative of what happens, and removes another of the negative definitions (NO_.* = value).
2001-08-27Since libtool has now been split, it's no longer necessary to have atv1-2/+2
BUILD_DEPENDS on libtool for the USE_LIBTOOL/non-USE_LTDL case; instead, just depend on libtool-base (thus skipping the libtool-info and libtool package compilation where appropriate).
2001-08-24print-PLIST: remove emul/linux/proc entries before sorting. No need tohubertf1-2/+2
waste processing time on data we're going to discard. Pointed out by Tomasz Luchowski <zuntum@netbsd.org>.
2001-08-24 * When applying patches, also look in $LOCALPATCHES/$PKGPATH forhubertf1-5/+16
any local patches that the user wants to maintain outside of pkgsrc. * print-PLIST: ignore Linux procfs entries
2001-08-23gnu patch is used under Linux as well as Solarisabs1-3/+3
2001-08-23Set the default BUILDLINK_X11_DIR to ${X11BASE} so that in the absencejlam1-1/+6
of x11.buildlink.mk, it still points to a working X11R6 hierarchy.
2001-08-22By default, don't use pkgtools/buildlink-x11 to cause packages that usejlam1-26/+4
imake to be buildlinked as it's not necessary for those packages. Many thanks to Frederick Bruckman <fredb@immanent.net> for pointing this out. This is accomplished by ripping out all of the Makefile logic related to buildlink-x11. It will be added back in a separate file (as noted by the additional check for X11_BUILDLINK_MK, but will still not be the default.
2001-08-20Remove "-" from default su command. It's more reliable to let some of thetv1-2/+2
environment be inherited from pkgsrc during an implicit su for install; root's .-files may set variables that fiddle with how pkgsrc works.
2001-08-16change BUILD_DEPENDS+= bzip2-0.9.0b:../../archivers/bzip2 to >=0.9.0b;dogcow1-3/+3
otherwise, extracts fail when bzip2-1.0.1 is installed.
2001-08-08Update build dependency on buildlink-x11 to >=0.7.jlam1-2/+2
2001-08-01ftp.digital.com seem to have dropped their cpan archive - switch to loadedabs1-2/+2
2001-07-30Move -a from XMKMF_FLAGS to XMKMF. Thus, if a package wants to runjlam1-3/+3
xmkmf without building all the Makefiles too, then it can set XMKKF=${XMKMF_CMD} ${XMKMF_FLAGS} (same as default but without the -a).
2001-07-27work around HAVE_BUILTIN_MESA not set when USE_GLX is set.hubertf1-2/+2
2001-07-26Force move new file over old one in REPLACE_PERL (at least one packagewiz1-2/+2
needs that).
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-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-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-15Rename "FILE" to "FILE_CMD" since ".for FILE" is a common idiom in BSDjlam1-4/+4
makefiles, and this interferes with the conditional definition of FILE in defs.*.mk.
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.jlam1-4/+4
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-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-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-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-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.jlam1-12/+4
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-28Update MASTER_SITE_XCONTRIB server list, inspired by a posting to tech-pkgwiz1-2/+12
by Jim Bernard <jbernard@mines.edu>.
2001-06-27o move REPLACE_PERL code to more proper location -- to the do-patch target;zuntum1-15/+15
now it works when NO_CONFIGURE is set