Commit graph

3553 commits

Author SHA1 Message Date
jlam
b9a3fde88c Add a library of useful shell functions. There are functions for
logging, backslash quoting, and two queue implementations: one entirely
in memory and one using a file.
2004-09-06 18:33:23 +00:00
jmmv
6873e335ae Add 'or' locale, initially used by eog2 2.7.1. 2004-09-04 16:59:58 +00:00
jmmv
5c64de2d8d Add 'yo' locale, initially used by gnome-desktop-2.7.92. 2004-09-03 13:58:07 +00:00
grant
b0bef53ef5 many kernel-grovelling tools in Linux need /proc mounted to do
anything useful.

make it so.
2004-09-02 07:04:54 +00:00
uebayasi
e06f9541d2 Match the default value and the "Default" line (W3M_USE_UNICODE). 2004-09-01 02:21:29 +00:00
schmonz
0286643931 Replace the only occurrence of the :E modifier in bsd.pkg.mk with
a more familiar construction. BZCAT wasn't getting defined for a
bzip2-compressed patch in my tree; now it is.
2004-09-01 00:10:58 +00:00
jmmv
edda066aa9 Add 'ka' locale, initially used by yelp-2.6.2. 2004-08-31 12:03:35 +00:00
wiz
a1e9ee2fea Fix typo in comment, reported by Ryo HAYASAKA in PR 26797. 2004-08-29 14:25:10 +00:00
jlam
672b335314 Make "rename" a synonym for "S". 2004-08-28 06:02:21 +00:00
jlam
3fffb3472f Add "rm:opt" as a synonym for "S:opt:", and "rmdir:dir" for "r:dir".
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-28 05:51:30 +00:00
jlam
5c7a0a7938 Restore a default definition for _BLNK_RPATH_FLAGS lost in previous commit. 2004-08-27 08:38:22 +00:00
jlam
4eedd8617c Whitespace nit. 2004-08-27 06:33:17 +00:00
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
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-27 06:29:06 +00:00
jschauma
fd45411cf2 If gpatch is installed, set _OPSYS_GPATCH_REQUIRED to YES, so that further
down we get the correct value for _PATCH_BACKUP_ARG and friends.
2004-08-26 00:41:45 +00:00
schmonz
71f7ba2993 Add a knob PKGSRC_SHOW_PATCH_ERRORMSG to control whether the newly
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-25 04:09:10 +00:00
tv
6ae0f5c2f9 Process RECOMMENDED *after* including bsd.buildlink3.mk; else it has no
real effect at all.
2004-08-24 00:27:13 +00:00
tv
11fff287f6 On Interix, default to using a threaded Perl. This is how the bundled
Perl in Interix ships, so it's an appropriate default for the OS.  (Still
overrideable in mk.conf explicitly.)
2004-08-23 23:34:45 +00:00
jlam
3a4481535e SUBST_POSTCMD must be globally defined or else it breaks. 2004-08-23 16:37:09 +00:00
jlam
4a7c06b1a3 Actually, it's okay if SUBST_FILTER_CMD is empty... the ${SUBST_COOKIE}
target takes care of this case already.
2004-08-23 16:36:00 +00:00
jlam
12887cdd6a Use _SUBST_BACKUP_SUFFIX instead of hardcoding ".subst.sav" everywhere. 2004-08-23 16:35:11 +00:00
seb
b0312a5e94 Also hide automake 1.9* commands by adding their names in _HIDE_PROGS.automake.
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-23 09:33:25 +00:00
jlam
dd5015fc43 SUBST_FILTER_CMD can't be empty. It must be a real filter cmd, so default
it to ${CAT} as a fall-through.
2004-08-23 09:01:57 +00:00
jlam
1f9933b155 Match documentation to reality to reflect recent change in semantics for
PKG_DEFAULT_OPTIONS.
2004-08-22 19:42:10 +00:00
jlam
9d5426ff76 Change the way that legacy USE_* and FOO_USE_* options are converted
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-22 19:32:51 +00:00
jlam
3c0724db48 The option names are "ldap" and "PAM". 2004-08-22 19:10:26 +00:00
jlam
31219901be USE_RSAREF2 is a yes/no variable. 2004-08-18 06:27:23 +00:00
tv
b0bcde2b2d Don't put the .la transform in GENERATE_PLIST; that's too late to make it in
before any @dirrm's are executed.  Rather, put it explicitly at the top of
the final static PLIST generation code.
2004-08-17 17:48:11 +00:00
tv
57110d93e1 Add new variable LIBTOOL_LA_FILES, which may be used instead of listing
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-16 03:12:02 +00:00
schmonz
9482f7b935 If patching fails and either of PKG_OPTIONS and LOCALPATCHES are
defined, note thatthe patch failure may be due to incompatible
build options and/or local patches, and suggest building with fewer.
2004-08-16 01:56:03 +00:00
jschauma
2d88922062 Use '-none' instead of '-notall' as the mipspro equivalent to --no-whole-archive 2004-08-15 22:21:14 +00:00
schmonz
3a5a08cd7f For ROOT_CMD, use full path to sudo and ${SH} instead of "sh". 2004-08-14 19:35:39 +00:00
schmonz
e9043ca8dd Update to 2004-03-12, maintaining our local additions for sh5. 2004-08-14 19:14:42 +00:00
schmonz
8591844fb7 Update to 2004-06-11, maintaining our local additions for sh5. 2004-08-14 19:13:55 +00:00
wiz
b48b2c7651 Update for automake-1.9. 2004-08-13 14:19:24 +00:00
jlam
446886c30e Add ${CAT} as the final pipeline command to BUILDLINK_FILES_CMD.<pkg> so
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-13 03:43:23 +00:00
dmcmahill
d7098ab8a2 add some quoting to deal with the case where a file in a package
has a space in the filename.  Without the quoting the buildlink
stage fails completely with errors.  ok'ed by Johnny Lam.
2004-08-13 00:48:05 +00:00
sketch
58a29490d5 Properly quote the NICE_LEVEL variable to prevent errors. 2004-08-12 22:18:07 +00:00
jlam
ec2830a96a Reorder the transformations in _BLNK_TRANSFORM so that commands to
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-10 15:16:29 +00:00
jlam
dda95b6721 In the rpath transformations, also handle -Wl,@_OPSYS_RPATH_NAME@... in
case ${_OPSYS_RPATH_NAME} is something surprising, like "-L".
2004-08-10 15:13:25 +00:00
jlam
1b3922b1bc Set _OPSYS_RPATH_NAME="-L". UnixWare has no rpath, but many packages
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-10 15:11:58 +00:00
schmonz
c2164cca0e ezmlm-idx's options have moved to its options.mk. 2004-08-10 05:59:45 +00:00
schmonz
ed6f9f8369 Fix spell-o. 2004-08-10 05:33:05 +00:00
seb
888e93aac7 Use bsd.options.mk framework for flow-tools package. 2004-08-09 22:37:34 +00:00
minskim
2840e4feab Convert bash2 to use bsd.options.mk. 2004-08-07 21:03:59 +00:00
jlam
7d11d16245 Use an awk script to avoid using possibly non-portable shell constructs. 2004-08-07 18:02:05 +00:00
jlam
cf2ba07f21 Add some new variables to control how "distribution" patches are extracted
and applied to the package sources.  The existing options are:

	PATCH_DIST_STRIP - option that sets the pathname strip count.
	PATCH_DIST_ARGS - the list of arguments to pass to patch(1).

The new options are:

	PATCH_DIST_CAT is the command that outputs the patch to stdout.

For each of these variables, there is a patch-specific variant that
may be set, i.e. PATCH_DIST_STRIP.<patch>, PATCH_DIST_ARGS.<patch>,
PATCH_DIST_CAT.<patch>.
2004-08-07 15:58:59 +00:00
xtraeme
bdd9977873 Fix some comparisson strings to handle XFree86/xorg dirs.mk files properly,
PR pkg/26576: Kouichirou Hiratsuka.
2004-08-07 14:44:05 +00:00
xtraeme
6bb0fe05f0 Remove unused JABBERD_METHOD, it was replaced by PKG_OPTIONS.jabberd2. 2004-08-07 14:13:06 +00:00
wiz
0a038e32c8 Add some sourceforge sites that are currently mentioned on the sourceforge
download page (cesnet, easynews, keihanna, mesh, switch).
2004-08-07 11:01:23 +00:00
sketch
868a80d864 Unset CDPATH variable in the user environment which prints the cwd to stdout
when changing directory, breaking the resulting tsort from the printindex
script output.
2004-08-06 10:41:51 +00:00