summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2002-10-03Add USE_OSS to BUILD_DEFS if it's defined.jlam1-2/+6
2002-10-03Created a new variable USE_OSS that is used to enable OSS audio support injlam1-1/+8
preference to or in place of Sun audio support in various packages. People using audio/oss should set USE_OSS in their /etc/mk.conf when building packages.
2002-10-03Rename "OSS" variable to "HAVE_OSS".jlam1-8/+8
2002-10-03Sync with new autoconf213, automake14 packages and autoconf, automake updates.wiz2-13/+12
2002-10-03Back out previous -- needs more thought.jwise1-4/+4
2002-10-03Fix a long-standing problem with dependencies for java packages, introducedjwise1-4/+4
when support for BUILD_DEPEND-only java packages was introduced -- this problem was preventing java from being registered as a dependency for a number of java-based packages.
2002-10-03Invent a new publicly readable variable OSS that is YES/NO for whetherjlam1-3/+15
audio/oss is installed. Also add an example in the comments at the top of the file that shows how to use the OSS variable.
2002-10-03Create "DEVOSSSOUND" which is used where we'd like for programs that usejlam1-1/+9
the ossaudio emulation to use /dev/sound instead of /dev/audio. For OSS, DEVOSSSOUND == DEVOSSAUDIO == /dev/dsp.
2002-10-03Recognize when 4Front OSS is installed on a NetBSD system and use realjlam1-7/+13
OSS instead of the ossaudio OSS emulation library when building software.
2002-10-02add AUTORECONF variabledillo1-1/+4
2002-10-02add makefile fragments for packages that need automake / autoconf to build.dillo2-0/+61
2002-10-01Document NS_INST variable, determining if netscape7 uses the complete orjschauma1-1/+6
the recommended (default) install, as pointed out by wiz.
2002-10-01Really, really fix the problem I was trying to fix with rev 1.6. I wantjlam1-7/+29
to only add -Ldir/.libs for *.la files that are not named with absolute paths or named with an absolute path starting with ${WRKSRC}. This should fix the problem with converting kdebase3 to buildlink2.
2002-09-30Add PKG_LANG variable, defaulting to english.jschauma1-1/+9
Currently only used by www/netscape7 but this can potentially be used by many packages to help localize the installation. Ok'd by wiz.
2002-09-29Correctly fetch ALLFILES containing '=' charactersrh1-6/+6
2002-09-28* Split _BLNK_TRANSFORM_SED into 4 variables, as even with 3 it wasjlam5-23/+40
overflowing the make variable size limit. * Rename _BLNK_WRAP_ENV to _BLNK_WRAP_SETENV, and use _BLNK_WRAP_ENV to set the shell environment for the wrappee. Allow BUILDLINK_WRAPPER_ENV to add to the shell environment.
2002-09-28Nuke a bogus invocation of 'pkg_info -I' and use 'pkg_info -e' instead.uebayasi1-13/+3
Simplify the '!=' lines. Pointed out by wiz (a.k.a. wizd(8)).
2002-09-27Make machine/soundcard.h an alias for sys/soundcard.h if non-existentrh1-2/+9
2002-09-27Provide a way for buildlink2.mk files to convert a build dependency tojlam1-5/+6
a full dependency. BUILDLINK_DEPMETHOD.<pkg> is now a space-separated list of the words "full" and/or "build", and if any of them is "full", then a full dependency on <pkg> is used. buildlink2.mk files may now do: BUILDLINK_DEPMETHOD.<pkg>+= full to convert from a build to a full dependency. Previously, if a package Makefile set BUILDLINK_DEPMETHOD.<pkg>=build, there was no way to override its value consistently.
2002-09-27Add MASTER_SITE_GNUSTEPrh1-1/+10
2002-09-27Add share/locale/is.wiz4-4/+20
2002-09-27Create a new variable USE_X11_LINKS that controls whether packages thatjlam2-3/+29
use buildlink2 and set USE_X11 will use x11-links, or if they will simply symlink the X11 files directly into ${BUILDLINK_DIR}. If USE_X11_LINKS is "YES" (the default), then x11-links is used. If USE_X11_LINKS is "NO", then the X11 files are symlinked directly. There is a choice here between speed and flexibility. Using x11-links is faster since you don't need to spend time symlinking all of the X11 files into ${BUILDLINK_DIR}. However, if you update your X11 installation, then the x11-links package will likely be out-of-date. Conversely, directly symlinking the X11 files will protect you from changes in your X11 installation when you update, but there is a (small) time penalty to have to do it for every package that uses X11.
2002-09-27Change /usr/lib/*.la to ${BUILDLINK_DIR}/lib/*.la in libtool archives whenjlam1-1/+2
buildlinking them into ${BUILDLINK_DIR}. This should allow cases where a /usr/lib/libintl.la escaped into an installed libtool archive (during the time when buildlink2 was broken for about 4 days) to be handled properly.
2002-09-26When PKG_DEBUG_LEVEL=2, set_PKG_DEBUG_SCRIPT is set to "${SH} -x". Usejlam2-6/+12
_PKG_DEBUG_SCRIPT when running the INSTALL/DEINSTALL scripts so that they may be easier to debug.
2002-09-26Create DEVOSSAUDIO, for the default OSS audio device.jlam1-4/+14
2002-09-26Don't make ${RCD_SCRIPTS_EXAMPLEDIR} unless it doesn't exist, and if wejlam1-2/+6
do make it, make it with the same permissions as outlined in the *.pkg.dist files.
2002-09-26At least jakarta-tomcat requires the same ${_ULIMIT_CMD} on do-install asabs1-2/+2
on do-build
2002-09-25USE_MOTIF is unused.jlam1-8/+1
2002-09-24Don't create the fake libtool archives unless USE_LIBTOOL is defined. Thisjlam1-1/+6
fixes building gmake without libtool installed.
2002-09-24Move pkgtools-related definitions into bsd.prefs.mk so that they may bejlam2-12/+11
used by buildink2.mk files.
2002-09-24Some whitespace cleanup.wiz1-3/+3
2002-09-24Fix gnome path on ftp.tuwien.ac.at.wiz1-2/+2
2002-09-24Allow passing multiple items to BUILDLINK_DEPENDS.<pkg>. So, if we havejlam1-2/+4
BUILDLINK_DEPENDS.foo= foo>=1.0 foo<1.5 then this is converted to: DEPENDS+= foo>=1.0:../../category/foo DEPENDS+= foo<1.5:../../category/foo We can use this to record upper bounds on dependency versions.
2002-09-24Use |, not : to separate case conditions.jlam1-2/+2
2002-09-23For completeness, also allow for ./* when naming uninstalled libtooljlam1-3/+3
archives, and also do the special handling for dependency_libs.
2002-09-23Also add -L*/.libs for *.la that start with "../", which is also quitejlam1-2/+2
common when referring to an uninstalled libtool archive.
2002-09-23The previous commit of libtool-fix-la let a lot of references to the buildjlam2-14/+29
directory escape into the installed *.la files. Fix this by only adding -L*/.libs if the *.la file is uninstalled, and by filtering out references to ${WRKSRC}.
2002-09-23Add mimedefang defaultsmarkd1-1/+15
2002-09-23* buildlink1 -> buildlink2jlam2-6/+9
* Replace ELK_USE_{X11,MOTIF} with ELK_GUI, which is either "none" or is some combination of "xaw" and/or "motif". * Reenable Motif -- it seems to build properly with OpenMotif-2.0.x. * Modernize this package a bit and clean up how linker flags are passed to the build process by using the new variables available.
2002-09-23Missing a /lib on the end of the library path.jlam1-2/+2
2002-09-23Provide a separate variable "X11_LDFLAGS" that just contains the linkerjlam1-3/+5
flags for finding the X11 libraries. The value of X11_LDFLAGS is appended to LDFLAGS if the packages uses X11.
2002-09-23Add the -Wl,-R flags to find the widget library. The ld wrapper scriptjlam1-5/+10
understands "-Wl,-R" to be just "-R", so it will work fine.
2002-09-23Allow for wrapper-specific transformations of arguments that occur afterjlam5-7/+46
the main transformations have been performed. The ld wrapper can now accept "-Wl,*" arguments and transform them appropriately by stripping of the -Wl and the commas. This will obiviate the need for logic in pkgsrc that strips away the "-Wl," depending on whether the platform was a.out or ELF, and whether the individual package chose to link using "cc" or "ld".
2002-09-22Allow other Makefiles to specify a PERL5_GENERATE_PLIST that overrides thejlam1-2/+4
one provided by bsd.pkg.mk when generating the PLIST from PERL5_PACKLIST.
2002-09-21Don't strip past non-whitespace characters.jlam1-3/+7
2002-09-21Handle removing the rpath flags in the wrappers if USE_BUILDLINK2 is set.jlam2-2/+13
2002-09-21Clarify comment for BUILDLINK_TRANSFORM.jlam1-2/+2
2002-09-21Fix typo: s/11/x11/. From pkg/18365 by Roland.Dittel@epost.de.jlam1-4/+4
2002-09-20Don't require setting the version of the replacement pthread package neededjlam1-1/+3
by pthread.buildlink2.mk if the default one from the package's buildlink2.mk suffices.
2002-09-20Create PTHREADBASE, which has the base prefix location for the pthreadjlam1-4/+7
libraries.