Commit graph

3653 commits

Author SHA1 Message Date
tv
e2231831d1 Oy. For some reason, when doing :O:u, -L and -R options are stripped
completely (they say "cached" but never come out the other side).  So
revert previous, hopefully to find a resolution later....
2004-10-14 20:22:21 +00:00
tv
4b8e5d9b9a Big speedup hack: Sort and uniqify ${_WRAP_TRANSFORM_CMDS}. Eliminates
many (hundreds, in some packages) multiple identical transformations.
2004-10-14 20:00:30 +00:00
grant
a2123a466b make sure _TOOLS_HAS_GNU.<tool> is initialised. from Michael van Elst
in PR pkg/27258.
2004-10-14 11:41:40 +00:00
grant
caabec7172 fix a comment 2004-10-14 09:56:52 +00:00
grant
4f6d6c2740 devel/yacc -> devel/bison. there is no such package as devel/yacc.
(how did this ever work?)
2004-10-14 09:54:04 +00:00
grant
f8258b249d handle the operating system having GNU yacc (actually bison) and
explicitly undef YACC.

YACC?=yacc is set in sys.mk, but this interferes with building some
packages that require bison because they try ${YACC} and fail.
2004-10-14 09:51:43 +00:00
tv
d133a216ec Oy, what a hack. But then, so is Interix....
On Interix, force inclusion of devel/ncurses/buildlink3.mk from
mk/curses.buildlink3.mk.  This forces inclusion of its builtin.mk too.

In devel/ncurses/builtin.mk, if using Interix's builtin ncurses, always
transform -lncurses to -lcurses.  (-lncurses is static, but -lcurses is
shared; we want the shared version.)
2004-10-13 20:10:31 +00:00
tv
888be43a6a Bump LIBTOOL_REQD back to 1.5.10nb1. This ensures that folks who built
1.5.10 during the "broken" period (before the workaround and wrapper fix)
have to upgrade to make it work correctly.
2004-10-13 18:42:19 +00:00
tv
7f3683f1ed For the ELF form, make sure shlibs are installed +x. If not, issue a
warning, fix it, and move along.
2004-10-13 17:52:46 +00:00
tv
9a8ac08ae7 Use /bin/test. The /bin/sh builtin has some bugs with symlinks. 2004-10-13 17:50:01 +00:00
tv
53860a0446 Make strip/no-strip choice more consistent:
Move check for INSTALL_UNSTRIPPED to the platform/*.mk files, alongside
existing check for DEBUG_FLAGS.
2004-10-13 15:31:31 +00:00
tv
78745eb4bf Bump gzip-base to 1.2.4b for security fix. 2004-10-12 18:29:25 +00:00
tv
b0f7b8b308 Automatic inclusion of gzip-base needs a version number in the BUILD_DEPENDS. 2004-10-12 17:32:46 +00:00
tv
728ff6632f Fix _PLIST_AWK_LIBTOOL not to pass @comment lines to print-la-libnames. 2004-10-12 14:34:57 +00:00
tv
0a4331633b libmikmod is certainly not the only package using USE_ESOUND any longer.... 2004-10-12 13:58:22 +00:00
uebayasi
37f4171f37 ulimit' can't parse localized messages of "unlimited"; force ulimit -H
...' to print out the C-locale message.  Problem reported by Hiroyuki
Nakaji.
2004-10-12 08:38:19 +00:00
tv
9e2ecafeae Another Interix fubar workaround: C++ libs weren't linking in libtool
because Interix installs completely hosed .la files for libstdc++ and
libsupc++.  Make libtool instead trust g++ to DTRT.
2004-10-12 04:41:39 +00:00
tv
0755bfeadb Let's do another _TOOLS_REPLACE_OPSYS dance for Interix. It ships with a
version of gawk in /usr/contrib/bin, so use that instead.
2004-10-12 01:17:36 +00:00
tv
b546e8c0c5 Upon further digging, it appears that Interix just needed a
_TOOLS_REPLACE_OPSYS setting to pick up nbsed in tools.mk; no need to
throw more into autoconf's environment.
2004-10-11 23:38:53 +00:00
tv
d769d069b3 A couple packages overflow Interix's sed in an autoconfitized configure
script.  Since all platforms define a "reasonable" sed(1), it seems
reasonable to pass this info to ./configure as well.

While here, convert LIBS="${LIBS}" to the proper LIBS=${LIBS:Q}.
2004-10-11 23:27:18 +00:00
reed
15fee44a6c Make it so RCD_SCRIPTS_EXAMPLEDIR is a directory relative to
${PREFIX}. It is not an absolute path because with the automatic
addition of the entry to the PLIST would be bogus if someone
defined it to some RCD_SCRIPTS_EXAMPLEDIR outside of PREFIX.
(This may cause multiple rc.d directories if there are multiple
PREFIXes, but I think that is fine.)

Note that at this time, this doesn't change the RCD_SCRIPTS_EXAMPLEDIR
default directory. This will change soon.

Most of this has been in use for over a year.

Also some of this is from Greg Woods. Thank you Greg.

I will next update a few other references to RCD_SCRIPTS_EXAMPLEDIR.
2004-10-11 22:04:19 +00:00
reed
1f144be250 Add RCD_SCRIPTS_EXAMPLEDIR to the MESSAGE_SUBST. www/tinyproxy's MESSAGE
used it but it was not defined. Other MESSAGE files use it too.
2004-10-11 21:49:00 +00:00
tv
2f4cc60680 Add MASTER_SITE_CYGWIN, to be used for some emulators/cygwin_* packages
(mainly to provide Win32 gateway services for Interix hosts).
2004-10-11 19:44:06 +00:00
tv
c12846d533 Make -export-symbols work properly under Interix. (The Interix ld(1) does
not implicitly add `_' to -retain-symbols-file values, so we have to add
it manually before doing the physical link.)
2004-10-11 16:51:56 +00:00
tv
50627baf77 Add win32-jdk. While here, sort the per-JVM metadata sections by JVM name. 2004-10-11 13:38:18 +00:00
jmmv
8b4ceebcb8 Add az_IR locale, initially used by gtk2 2.4.11. 2004-10-09 09:17:12 +00:00
tv
26bca1504d Add a comment explaining that bizarre $$(id -un ...) construct in ROOT_CMD. 2004-10-09 04:12:58 +00:00
tv
61fabf5361 Move -D_ALL_SOURCE for Interix, required for nearly every compilation, from
the funky CPPFLAGS assignment into the new wrapper framework.
2004-10-09 03:49:13 +00:00
tv
e186c85bad devel/patch is needed by some platforms in order to build ccache, so don't
cache that one either.
2004-10-09 03:48:31 +00:00
tv
af06ad46bd Add EXTRACT_ENV.bin, allowing things to be passed into the environment of
a ".bin" extraction (to be used shortly by lang/sun-jre15).

This isn't a generic EXTRACT_ENV, as the rest of the extraction tools don't
currently need such a knob.  The most common use would be to set things in
the env of a binary-only distribution to make for silent or otherwise
twiddled package extraction.
2004-10-09 03:47:13 +00:00
jlam
73324346e7 Drop the extraneous comma in "-Wl,-R,/dir" and turn it into "-Wl,-R/dir".
Do the same for options that look like "-Wl,-L,/dir".
2004-10-08 21:53:53 +00:00
xtraeme
8dfcb6fabd X11_TYPE=xorg:
Blah, again the .pc files problem with compositeext and fixesext, we have
the headers but not these files... remove them.
2004-10-08 04:47:52 +00:00
xtraeme
53f32a3d09 Use builtin versions for Xcomposite and compositeext for X11_TYPE=xorg
users.
2004-10-08 04:00:37 +00:00
xtraeme
21a0d4da99 Changes for meta-pkgs/xorg and friends:
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-08 00:58:25 +00:00
jlam
b74c7e3473 Make PKGSRCDIR a read-only value. This avoids problems where the user
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-07 13:42:26 +00:00
jlam
0f9ae0638a Remove _PKGSRCDIR now that we have PKGSRCDIR (as per previous commit). 2004-10-07 03:03:09 +00:00
jlam
17c3aafac1 * Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,
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-07 02:01:37 +00:00
jlam
095767c3c2 _DEPENDS.${_path_} can contain more than one dependency pattern, so split
along whitespace when appending ":../../category/pkgdir".  Fixes problem
noticed when running "make show-depends-dirs".
2004-10-06 21:51:41 +00:00
jlam
f8946737f1 Climb up the directory tree to find the top, instead of guessing where
the top and searching on the way down.  Thanks Gavan!
2004-10-06 20:59:40 +00:00
jlam
dffc19378a Reorganize some of the files under pkgsrc/mk:
(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-06 20:51:47 +00:00
tv
fe9f6ce2c3 Add SUN_JRE15_USE_JCE (forgot this file in the commit). 2004-10-06 19:47:01 +00:00
grant
2644aa2b45 call the C compiler as 'xlc' so libtool mostly DTRT. 2004-10-06 13:56:46 +00:00
grant
b761a1f885 add initial support for IBM's XL C/C++ compiler. tested with version
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-06 09:49:53 +00:00
jlam
1191106c78 Check for presence of the libname listed in the libtool archive before
outputting it to stdout.
2004-10-05 22:34:07 +00:00
jdolecek
892c99e9e4 the distfile mirror on ftp.cz.NetBSD.org is no longer functional 2004-10-05 18:03:51 +00:00
jlam
087adf00de Move the "dependency reduction" code from buildlink3 to bsd.pkg.mk so
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-05 15:28:50 +00:00
cube
2b1dbffc46 Add man/fi, required for an upcoming package. 2004-10-04 20:47:41 +00:00
jlam
f2cb35cf1e Add a scan script that checks for "-v" on the command-line, and prevents
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-04 20:28:29 +00:00
tv
4bee2600f9 Fix completely hosed test for g++ when CXX=g++. The old test worked fine.
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-04 19:48:09 +00:00
jlam
b339673bcc When transforming from ${LOCALBASE} into ${BUILDLINK_DIR}, convert
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-04 17:57:08 +00:00