summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2004-09-11Finish off the locking work, by adding locks around "make install" andagc1-3/+13
"make package", from a nudge by Greg Oster. No objections, but lots of mail, received from pkgsrc developers, to committing this during the stability freeze, but I'd really like this to go in pkgsrc-2004Q3.
2004-09-10* Do the *.la expansion within the current _PLIST_AWK_SCRIPT framework.jlam3-31/+91
We no longer require that LIBTOOL_LA_FILES be defined in the package Makefile, and the libtool archives should once again be listed in the PLIST. * Add a new yes/no variable "LIBTOOLIZE_PLIST" to control whether to have bsd.pkg.mk automatically expand *.la files in PLISTs into the true library names represented by the libtool archives. * Rename the "transform-la" script to "print-la-libnames" which more correctly reflects its function. Many thanks to Todd Vierling for the original implementation and for his contructive comments on how to improve the changes in this commit.
2004-09-08UNBUILDLINK_{PATTERNS,FILES} are actually no more, so garbage-collec themjlam1-6/+4
and update the documentation.
2004-09-07Remove non-standard share/locale/bg_BG.cp1251, which is currentlywiz19-95/+19
unused by pkgsrc. Noted by soda.
2004-09-07Remove share/locale/ja_JA, since it should be ja_JP instead, butwiz4-20/+4
there is no package using ja_JP for now. Addresses PR 26874 by SODA Noriyuki.
2004-09-07Use UNWRAP_{PATTERNS,FILES} instead of UNBUILDLINK_{PATTERNS,FILES}. Thisjlam1-3/+3
will help to minimize diffs for packages between the forthcoming pkgsrc-2004Q3 branch and the HEAD after the integration of the wrapper script framework.
2004-09-06Add a library of useful shell functions. There are functions forjlam1-0/+329
logging, backslash quoting, and two queue implementations: one entirely in memory and one using a file.
2004-09-04Add 'or' locale, initially used by eog2 2.7.1.jmmv11-11/+55
2004-09-03Add 'yo' locale, initially used by gnome-desktop-2.7.92.jmmv11-11/+55
2004-09-02many kernel-grovelling tools in Linux need /proc mounted to dogrant1-1/+2
anything useful. make it so.
2004-09-01Match the default value and the "Default" line (W3M_USE_UNICODE).uebayasi1-2/+2
2004-09-01Replace the only occurrence of the :E modifier in bsd.pkg.mk withschmonz1-2/+2
a more familiar construction. BZCAT wasn't getting defined for a bzip2-compressed patch in my tree; now it is.
2004-08-31Add 'ka' locale, initially used by yelp-2.6.2.jmmv11-11/+55
2004-08-29Fix typo in comment, reported by Ryo HAYASAKA in PR 26797.wiz1-3/+3
2004-08-28Make "rename" a synonym for "S".jlam1-1/+4
2004-08-28Add "rm:opt" as a synonym for "S:opt:", and "rmdir:dir" for "r:dir".jlam1-2/+7
These are supported options from the soon-to-be-committed wrapper framework and are meant to more precisely state the intended transformation. Also just skip over unknown commands instead of generating an error.
2004-08-27Restore a default definition for _BLNK_RPATH_FLAGS lost in previous commit.jlam1-1/+2
2004-08-27Whitespace nit.jlam1-2/+2
2004-08-27Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,jlam19-67/+73
which are the full option names used to set rpath directives for the linker and the compiler, respectively. In places were we are invoking the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is inserted in case the flag is a word, e.g. -rpath. The default values of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the compiler that you use. They may be overridden on a ${OPSYS}-specific basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG, respectively. Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-26If gpatch is installed, set _OPSYS_GPATCH_REQUIRED to YES, so that furtherjschauma1-1/+2
down we get the correct value for _PATCH_BACKUP_ARG and friends.
2004-08-25Add a knob PKGSRC_SHOW_PATCH_ERRORMSG to control whether the newlyschmonz2-6/+19
verbose message displayed on patch failure is in fact displayed on patch failure. It defaults to "no" if PKG_DEVELOPER is defined, "yes" otherwise. While here, rename PKG_PATCH_FAIL to PKGSRC_PATCH_FAIL.
2004-08-24Process RECOMMENDED *after* including bsd.buildlink3.mk; else it has notv1-9/+9
real effect at all.
2004-08-23On Interix, default to using a threaded Perl. This is how the bundledtv1-7/+10
Perl in Interix ships, so it's an appropriate default for the OS. (Still overrideable in mk.conf explicitly.)
2004-08-23SUBST_POSTCMD must be globally defined or else it breaks.jlam1-2/+2
2004-08-23Actually, it's okay if SUBST_FILTER_CMD is empty... the ${SUBST_COOKIE}jlam1-2/+2
target takes care of this case already.
2004-08-23Use _SUBST_BACKUP_SUFFIX instead of hardcoding ".subst.sav" everywhere.jlam1-8/+10
2004-08-23Also hide automake 1.9* commands by adding their names in _HIDE_PROGS.automake.seb1-2/+4
For me this fixed the build of devel/kdevelop-base version 3.1.0 with latest automake package version 1.9.1 installed.
2004-08-23SUBST_FILTER_CMD can't be empty. It must be a real filter cmd, so defaultjlam1-2/+2
it to ${CAT} as a fall-through.
2004-08-22Match documentation to reality to reflect recent change in semantics forjlam1-3/+3
PKG_DEFAULT_OPTIONS.
2004-08-22Change the way that legacy USE_* and FOO_USE_* options are convertedjlam1-10/+12
into the bsd.options.mk framework. Instead of appending to ${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS. This causes the default options to be the union of PKG_DEFAULT_OPTIONS and any old USE_* and FOO_USE_* settings. This fixes PR pkg/26590.
2004-08-22The option names are "ldap" and "PAM".jlam1-3/+3
2004-08-18USE_RSAREF2 is a yes/no variable.jlam1-2/+2
2004-08-17Don't put the .la transform in GENERATE_PLIST; that's too late to make it intv1-5/+7
before any @dirrm's are executed. Rather, put it explicitly at the top of the final static PLIST generation code.
2004-08-16Add new variable LIBTOOL_LA_FILES, which may be used instead of listingtv2-1/+66
all of the .a, .la, .so, and .so.* files in the PLIST. This will autogenerate the PLIST entries based on the informaion in the .la file. This include print-PLIST support; if LIBTOOL_LA_FILES contains an installed .la, its entries will be elided from the output PLIST template.
2004-08-16If patching fails and either of PKG_OPTIONS and LOCALPATCHES areschmonz1-4/+14
defined, note thatthe patch failure may be due to incompatible build options and/or local patches, and suggest building with fewer.
2004-08-15Use '-none' instead of '-notall' as the mipspro equivalent to --no-whole-archivejschauma1-2/+2
2004-08-14For ROOT_CMD, use full path to sudo and ${SH} instead of "sh".schmonz1-2/+2
2004-08-14Update to 2004-03-12, maintaining our local additions for sh5.schmonz1-14/+59
2004-08-14Update to 2004-06-11, maintaining our local additions for sh5.schmonz1-11/+63
2004-08-13Update for automake-1.9.wiz1-3/+3
2004-08-13Add ${CAT} as the final pipeline command to BUILDLINK_FILES_CMD.<pkg> sojlam1-2/+2
that the whole pipeline returns 0. This avoids subtle breakage when the we use built-in software and there is actually no list of files passed as input to the pipeline, and the final egrep returns non-zero.
2004-08-13add some quoting to deal with the case where a file in a packagedmcmahill1-10/+10
has a space in the filename. Without the quoting the buildlink stage fails completely with errors. ok'ed by Johnny Lam.
2004-08-12Properly quote the NICE_LEVEL variable to prevent errors.sketch1-2/+2
2004-08-10Reorder the transformations in _BLNK_TRANSFORM so that commands tojlam1-14/+14
remove rpath options come first. This fixes problems we may encounter if ${_OPSYS_RPATH_NAME} is something surprising, like "-L". On Darwin, this was causing -L/usr/lib to be stripped out of "-Wl,-L/usr/lib", which left a bare "-Wl," on the command line.
2004-08-10In the rpath transformations, also handle -Wl,@_OPSYS_RPATH_NAME@... injlam1-1/+6
case ${_OPSYS_RPATH_NAME} is something surprising, like "-L".
2004-08-10Set _OPSYS_RPATH_NAME="-L". UnixWare has no rpath, but many packagesjlam1-2/+2
pass "-Wl,${RPATH_FLAG}..." to the linker, which can break the build of these packages. Using -L essentially makes these arguments a no-op, and fixes packages which were solely broken by this.
2004-08-10ezmlm-idx's options have moved to its options.mk.schmonz1-11/+1
2004-08-10Fix spell-o.schmonz1-2/+2
2004-08-09Use bsd.options.mk framework for flow-tools package.seb1-13/+1
2004-08-07Convert bash2 to use bsd.options.mk.minskim1-6/+1