summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2004-10-08Drop the extraneous comma in "-Wl,-R,/dir" and turn it into "-Wl,-R/dir".jlam1-1/+15
Do the same for options that look like "-Wl,-L,/dir".
2004-10-08X11_TYPE=xorg:xtraeme1-3/+1
Blah, again the .pc files problem with compositeext and fixesext, we have the headers but not these files... remove them.
2004-10-08Use builtin versions for Xcomposite and compositeext for X11_TYPE=xorgxtraeme1-3/+5
users.
2004-10-08Changes for meta-pkgs/xorg and friends:xtraeme1-3/+1
Looks like that cannot we use render/randrext builtin versions for meta-pkgs/xorg, because of missing .pc files required to build Xrender and friends, remove them from here. Closes PR pkg/27129 by Cristopher Richards, thanks for the info, I thought they were installed by xorg-libs... (!)
2004-10-07Make PKGSRCDIR a read-only value. This avoids problems where the userjlam1-4/+5
decides to set PKGSRCDIR to a relative path as seen in several old PRs and which prompted the original switch to make PKGSRCDIR private in revision 1.881 of bsd.pkg.mk.
2004-10-07Remove _PKGSRCDIR now that we have PKGSRCDIR (as per previous commit).jlam1-2/+1
2004-10-07* Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,jlam6-65/+69
as it's only used internally by bsd.prefs.mk. * Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR. Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile than the old method of stripping off the last two components of ${.CURDIR}. PKGSRCDIR may now be used after bsd.prefs.mk is defined. * Change all references to _PKGSRCDIR to PKGSRCDIR.
2004-10-06_DEPENDS.${_path_} can contain more than one dependency pattern, so splitjlam1-2/+4
along whitespace when appending ":../../category/pkgdir". Fixes problem noticed when running "make show-depends-dirs".
2004-10-06Climb up the directory tree to find the top, instead of guessing wherejlam2-11/+11
the top and searching on the way down. Thanks Gavan!
2004-10-06Reorganize some of the files under pkgsrc/mk:jlam16-33/+33
(1) defs.${OPSYS}.mk --> platform/${OPSYS}.mk. The "platform" subdirectory is where all of the ${OPSYS}-specific infrastructure logic should reside. (2) bsd.pkg.defaults.mk --> defaults/mk.conf bsd.pkg.obsolete.mk --> defaults/obsolete.mk Renaming bsd.pkg.defaults.mk to defaults/mk.conf is to mimic the way that NetBSD has /etc/rc.conf as well as /etc/defaults/rc.conf, where the latter is a full list of user-settable variables, and the two files share the same name to reinforce the fact /etc/defaults/rc.conf can be directly copied in place as /etc/rc.conf. This is the same relationship shared by defaults/mk.conf and /etc/mk.conf.
2004-10-06Add SUN_JRE15_USE_JCE (forgot this file in the commit).tv1-1/+7
2004-10-06call the C compiler as 'xlc' so libtool mostly DTRT.grant1-5/+5
2004-10-06add initial support for IBM's XL C/C++ compiler. tested with versiongrant5-4/+143
6.0 on Mac OS X 10.3.5. to use XL C, set PKGSRC_COMPILER=xlc in mk.conf. XLCBASE defaults to /opt/ibmcmp/vacpp/6.0 (the default installation location on OS X), this can be overridden in mk.conf too. this is a work in progress - some simple packages can be built, but there are still lots of issues that need to be worked through.
2004-10-05Check for presence of the libname listed in the libtool archive beforejlam1-2/+6
outputting it to stdout.
2004-10-05the distfile mirror on ftp.cz.NetBSD.org is no longer functionaljdolecek1-2/+1
2004-10-05Move the "dependency reduction" code from buildlink3 to bsd.pkg.mk sojlam3-56/+130
that all of pkgsrc can benefit from removing redundant dependencies. The code is encapsulated in a new file reduce-depends.mk which is included by bsd.pkg.mk after all dependencies have been specified.
2004-10-04Add man/fi, required for an upcoming package.cube9-9/+423
2004-10-04Add a scan script that checks for "-v" on the command-line, and preventsjlam3-4/+55
the wrappers from adding extra flags to the command-line if "-v" exists. This makes "g++ -v" return the same error code for both the wrapper and the real executable and fixes the problem with the libtool-base build not correctly detecting the C++ compiler and thus not adding the CXX configuration tag to the final libtool script. Downgrade LIBTOOL_REQD to 1.5.10 since the newest version isn't needed with this change.
2004-10-04Fix completely hosed test for g++ when CXX=g++. The old test worked fine.tv1-2/+2
Revert until the hosage is tracked down and eliminated at the source. (Bump to libtool-1.5.10nb1, and make this the required version.)
2004-10-04When transforming from ${LOCALBASE} into ${BUILDLINK_DIR}, convertjlam1-9/+15
into the mangled name for ${BUILDLINK_DIR} as an intermediate step, then convert the mangled name into ${BUILDLINK_DIR} at the end. This avoids problems with too many substitutions when ${BUILDLINK_DIR} is a subdirectory of ${LOCALBASE}, as noted in PR pkg/27104.
2004-10-03Don't cache transformations of "-lfoo" into "rel/path/to/libfoo.la" becausejlam1-2/+2
"rel/path/to" can be different each time. This should fix problems with building transcode after the wrapper framework was integrated.
2004-10-03Don't echo the debug message for the targets whose output is usedhira1-9/+7
by other targets. OK'd by jlam. This should close pkg/24377.
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv3-6/+4
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-10-01Update the wording a bit when a license is not accepted, to betterhubertf1-4/+4
indicate the proper process: first read the license, then accept, and indicate so in /etc/mk.conf: yui% make ===> graphviz-1.12 has an unacceptable license: graphviz-license. ===> To view the license, enter "/usr/bin/make show-license". ===> To indicate acceptance, add this line to your /etc/mk.conf: ===> ACCEPTABLE_LICENSES+=graphviz-license *** Error code 1
2004-09-30Add and enable {jdk,jre}15rh1-8/+22
2004-09-30G/C _WRAPPER_SH.LIBTOOL which isn't needed (it's value was beingjlam1-13/+2
overwritten within bsd.wrapper.mk anyway). Also fix up the documentation surrounding that section. From Stoned Elipot in private email.
2004-09-30Make APR_USE_DB4 default to NO everywhere, now that subversion-baseepg1-8/+4
can build without it.
2004-09-28Remove ftp.sunet.se for now, as it contains at least one brokencube1-2/+1
archive (PR#27049 by Robert Elz).
2004-09-27Per jlam's suggestion, remove the libtoolize conditional altogether. Sometv1-7/+1
packages install libtool archives without using USE_LIBTOOL.
2004-09-27LIBTOOLIZE_PLIST doesn't even need to be conditional. If USE_LIBTOOL istv2-10/+4
set in the package Makefile, then a libtool transform will be done, period.
2004-09-27LIBTOOL_REQD in bsd.pkg.mk is newer than the version listed here; removetv2-4/+2
the _OPSYS local override.
2004-09-27Move some wrapper definitions into a separate file wrapper-defs.mk that isjlam3-7/+55
included by bsd.prefs.mk. This allows the following variables to be used before bsd.wrapper.mk is included: WRAPPER_DIR WRAPPER_SRCDIR WRAPPER_BINDIR WRAPPER_SHELL WRAPPER_TMPDIR
2004-09-27Define PKGSRC_TOPDIR as the path to the top of the pkgsrc tree relativejlam1-19/+16
to the Makefile on which make is invoked. Use it instead of doing the same dance for finding defs.${OPSYS}.mk and bsd.pkg.defaults.mk.
2004-09-27In print-PLIST, handle '@exec ${MKDIR}' by PRINT_PLIST_AWK as well.rh1-2/+4
2004-09-26Make _WRAPPEES into a public variable so that we can more easily createjlam1-8/+12
wrapper scripts in package-land.
2004-09-26We don't use skipargs here... it's all in logic.jlam1-2/+1
2004-09-26fix dylib handlingdanw1-2/+1
2004-09-26Fix rmdir command so it passes remove-dir in the buildlink-transformjlam1-4/+4
regression test.
2004-09-25Add Dan Winship's workaround to allow building on Darwin. This is only ajlam1-1/+5
temporary fix until I can find time to do this better.
2004-09-24Teach the libtool wrapper about the "clean" and "uninstall" modes, wherejlam1-4/+7
we don't append the BUIDLINK_LDFLAGS to the commandline.
2004-09-24Create ${BUILDLINK_DIR}/bin for use by packages that need to drop off ajlam1-2/+5
buildlink wrapper for an installed binary or script.
2004-09-24Make print-PLIST work if there are no *.la files.jlam1-2/+6
2004-09-24Fix typo in comment.seb1-2/+2
2004-09-23Teach gcc.mk about gcc34 so that setting GCC_REQD=3.4 in /etc/mk.conf willjlam1-5/+35
make pkgsrc do the right thing.
2004-09-23Support the ABI flags on MIPS platforms.jlam1-10/+12
2004-09-23Move @_WRAP_TRANSFORM_SED@ from the logic script into wrapper.sh so thatjlam3-5/+7
it can be customized per wrappee. This fixes the imake wrapper script to not do any transformations to -I... options.
2004-09-22Typo in comment.jlam1-2/+2
2004-09-22When mangling paths, also do (and undo) the transformations for fulljlam1-5/+7
paths to static archives and libtool archives. This should fix the problem where a mangled path sometimes makes its way into the the executed command line.
2004-09-22Add a toggle that determines whether we pass extra arguments or not. Thisjlam3-7/+19
is intended to be toggled by a $scan file. Simplify buildlink3 by removing _BLNK_LIBTOOL_LDFLAGS and just setting _WRAP_EXTRA_ARGS.* like all of the other wrappers.
2004-09-22Typo - "ressource".mason1-2/+2