Commit graph

179 commits

Author SHA1 Message Date
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
grant
334ccb91fd use PTHREAD_LDFLAGS instead of -lpthread for portability, and
include pthread.buildlink2.mk.
2003-07-11 23:38:45 +00:00
grant
bd5d7f509b parens style nits 2003-07-10 16:26:45 +00:00
jmmv
0333e4cc18 Line up PKGREVISION whitespace. 2003-05-05 16:54:24 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
wiz
5370b9765e Replace wrap_writev with a simpler solution (old one had some problems).
Fixes endless loop problems. Report and suggestion by Greg Troxel
gdt at ir bbn com in private mail; some comments by Alistair Crooks;
patch reviewed and okayed by Jaromir Dolecek.
Bump PKGREVISION to 3.
2003-01-19 13:48:18 +00:00
jmmv
b046d2cc73 share/idl is a shared directory between ORBit and ORBit2, so manage it
properly.
2003-01-04 23:46:49 +00:00
jmmv
8da1b29f2e The lib/pkgconfig has been added to the list of standard directories, so do
not try to remove it, even if empty.
2003-01-02 22:44:43 +00:00
tron
39a943ad92 Replace "true" by "${TRUE}". 2002-12-09 16:01:10 +00:00
jlam
d0cf182a7f Bump the PKGREVISION as a result of conditionalizing the gindent
dependency.
2002-11-26 10:29:31 +00:00
jlam
d81f1aef1b * NetBSD's (and most likely Linux's) indent program is sufficient for ORBit,
so don't depend on devel/gindent on these two platforms.

* USE_BUILDLINK2 implies AUTOMAKE_OVERRIDE=NO.

* Don't use the hackish test for libwrap supplied in the configure script.
  Instead, just specify the necessary variables to link against libwrap
  in the package Makefile.

This closes PR 18712 by Greg A. Woods.
2002-11-25 21:20:05 +00:00
rh
e525650d57 Replace hand made patches for pkgconfig tempates with PKGCONFIG_OVERRIDE. 2002-10-30 03:09:25 +00:00
rh
c2934c968e Track directory layout change at MASTER_SITE_GNOME.
Patch provided in PR pkg/18701 by Julio Merino <jmmv@menta.net>
2002-10-19 10:54:42 +00:00
wiz
ba3a6c9bfd Unused. 2002-10-08 19:42:24 +00:00
jlam
2b468ecd6f Remove dependency on automake by patching the Makefile.in file instead of
the Makefile.am file.
2002-09-27 00:45:13 +00:00
jlam
569f4d898d IDL files must be added to BUIDLINK_FILES because the IDL files are
compiled using orbit-idl, which uses the C preprocessor to do its work, and
the C preprocessor has it's arguments transformed (correctly) by
buildlink2.
2002-09-23 19:57:28 +00:00
jlam
ee12419f1f Instead of using BUILDLINK_TRANSFORM.<pkg> to change the location of
headers in ${BUILDLINK_DIR}, simply create BUILDLINK_CPPFLAGS.<pkg>
variables whose values are appended to CPPFLAGS, which are automatically
passed to the configure and build processes.

BUILDLINK_TRANSFORM.<pkg> has little use in buildlink2 since packages are
now told that the software may be found where it really is installed, not
in ${BUILDLINK_DIR} as was the case with buildlink1.  Eventually, these
variables will be declared unsupported by buildlink2.
2002-09-23 09:22:14 +00:00
jlam
93e9fce64c buildlink2.mk files don't need to symlink *Conf.sh files. 2002-09-11 10:15:33 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
rh
db7a881c68 Patch the various pkgconfig files to include proper -Wl,-R options.
Bump PKGREVISION
2002-07-18 02:19:24 +00:00
wiz
80ff83f22e LTCONFIG_OVERRIDE -> LIBTOOL_OVERRIDE. 2002-04-29 18:27:17 +00:00
rh
794ada7d5b s/BUILDLINK_FILES.ORBit=/BUILDLINK_FILES.ORBit+=/ so that libIDL-1.0
includes are actually copied to the buildlink directory.
2002-04-26 07:38:02 +00:00
agc
52ed484e2d Upgrade to version 0.5.15 from 0.5.13nb1 of the ORBit package - diffs
provided by Thomas Klausner.

Diffs from previous version:

2002-03-20  Michael Meeks  <michael@ximian.com>
        * configure.in: copy the autoconf macro into here so we
        can rely on it not changing across autoconf versions.
2002-03-11  Michael Meeks  <michael@ximian.com>
        * src/IIOP/giop-msg-buffer.c
        kill #define writev mess.
        (giop_send_buffer_write): handle EINTR, handle EAGAIN
        correctly, handle short writev's correctly, test
        thorougly.
        * src/ORBitutil/compat.c (g_writev): kill this
        abomination.
2002-02-11  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
        * src/orb/allocators.h, src/orb/allocators.c (ORBit_alloc_2,
        ORBit_free): Make the free marker really always sit directly in
        front of the memory block, not at some random lower position.
2002-02-09 Elliot Lee <sopwith@redhat.com>
        * src/ORBitutil/os-feature-alloca.h: Don't redefine alloca if it is already defined.
2002-01-27  Darin Adler  <darin@bentspoon.com>
        * test/everything/Makefile.am: Added -lm -- can't build without it.
2002-01-25  Mark McLoughlin  <mark@skynet.ie>
        * configure.in: (AC_CHECK_ALIGNOF): error out if an alignment
        is found to be zero.

Thomas thought that the modification to src/IIOP/giop-msg-buffer.c to
"kill #define writev mess" might mean that we could drop the
NetBSD-specific wrapper for writev(2), but sadly this isn't so -
configure undefines HAVE_LIMITED_WRITEV on NetBSD, and rightly so,
since IOV_MAX (1024) iovecs can be written, not 50.  However, we still
have the basic "attempt to send more than IOV_MAX iovecs and you get
EINVAL" problem with our writev(2) implementation.
2002-04-25 12:17:04 +00:00
itohy
9b48289c2c - Correctly detect a.out shared library (developers should test on a.out env ;)
- Create fake libtool object (*.lo) if no shared libwrap exists.
2002-04-04 08:08:24 +00:00
agc
ff73b93d17 Bump PKGREVISION to denote the version with the writev(2) fix. Thanks
for the nudge, Martti.
2002-03-22 12:18:00 +00:00
agc
951e53f46e The ORBit code doesn't check the number of iovec structs before it
calls writev(2).  Some of the applications which use ORBit, such as
oaf, can send 1214 iovecs, which is slightly more than IOV_MAX.  Add a
wrapper for writev(2), to check the number of iovecs passed to writev,
and loop, sending MIN(IOV_MAX, count) until the iovecs have all been
written.
2002-03-22 11:26:04 +00:00
seb
66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
tron
1933565313 Fix broken buildlink glue code so that include files appear in the
correct directory in the buildlink directory.
2002-01-16 14:21:20 +00:00
rh
267abdcefa Update ORBit to 0.5.13. Changes are bugfixes and minor interface
enhancements.
2002-01-15 23:52:11 +00:00
abs
b989dde6cb Pull in automake - otherwise we lose on arm32 1.5 a.out systems... 2001-12-28 23:19:46 +00:00
hubertf
5542206cba Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.

Example #1:
        DISTNAME=       foo-X.Y
        PKGREVISION=    Z
     => PKGNAME=        foo-X.YnbZ

Example #2:
        DISTNAME=       barthing-X.Y
        PKGNAME=        bar-X.Y
        PKGREVISION=    Z
     => PKGNAME=        bar=X.YnbZ (!)

On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
2001-11-29 01:12:24 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
wiz
0fd50d6c14 Doesn't depend on automake anymore, so it doesn't BUILD_USE_GETTEXT_M4
anymore either.
2001-10-15 22:34:00 +00:00
tron
820ae6f73e Don't include the buildlink glue code for "pth". It is automatically
included by the buildlink glue code for "glib" which also knows that
Solaris doesn't need this.
2001-10-08 20:24:59 +00:00
rh
9c2c826ea5 Define _POSIX_THREAD_SYSCALL_SOFT=1 so syscalls won't block other threads.
Bump version to 0.5.8nb1
2001-10-04 19:25:25 +00:00
jlam
f25f9d2824 bsd.buildlink.mk will automatically handle the REPLACE_BUILDLINK stuff, so
we can remove REPLACE_BUILDLINK settings containing *-config, *Conf.sh, and
*.pc.
2001-10-03 22:36:37 +00:00
jlam
f0a4fcd3e4 Substitute the real config script for the config wrapper script in
installed files.  We don't want buildlink references to escape into the
install directory.
2001-10-03 20:56:40 +00:00
jlam
3e6c559fe1 Add a few more files to REPLACE_BUILDLINK to prevent references to
${BUILDLINK_DIR} from escaping into the installed files.
2001-10-03 17:38:07 +00:00
jlam
589dfeb98a Remove dependency on automake since we don't patch any of the automake
input files (Makefile.am, configure.in, etc.).
2001-10-03 17:32:11 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
skrll
9fc1f508be Remove BUILD_DEPENDS on autoconf by patching configure instead of
configure.in.
2001-08-28 18:37:54 +00:00
tron
a68a277b43 Use wildcard dependence on "autoconf" package. 2001-08-27 14:35:04 +00:00
skrll
ec3aee670c Update automake to 1.4-p5 (1.5 is available)
Include a bugfix for lisp_LISP independently discovered by me that has
been pulled up to the automake-1-4 branch of automake cvs.

Changes are:
New in 1.4-p5:
* Allow AM_PROG_LIBTOOL again.
* Diagnose AC_CONFIG_HEADERS the same as AC_CONFIG_HEADER.
* Display distributed file list correctly in usage message.
* Allow numbers in macro names.
* Bugfixes.

New in 1.4-p4:
* Deal with configure.ac as well as configure.in -- this time for real!
* The version numbering system now allows three point version numbers,
  such as 1.4.4, without thinking they are alpha release numbers.

New in 1.4-p3:
* Deal with configure.ac as well as configure.in.
* Don't complain if `version.texi' is included in multiple places.

New in 1.4-p2:
* Deal with AC_CONFIG_FILES from autoconf-2.50.
* Improvements to f77 support.
* DESTDIR now works for script targets.
* distcheck-hook works correctly.

New in 1.4-p1:
* The version numbering system now allows fork identifiers (such as
  the p1 in this version of automake).
* Cope gracefully with various versions of libtool which may or may not
  require ltconfig, ltcf-c.sh, ltcf-cxx.sh or ltcf-gcj.sh.
* Bugfixes.
2001-08-26 10:32:18 +00:00
jlam
7bba3453dc If USE_CONFIG_WRAPPER is defined (implied by USE_BUILDLINK_ONLY), then
set FOO_CONFIG=${BUILDLINK_CONFIG_WRAPPER.foo} in both CONFIGURE_ENV and
MAKE_ENV.  We remove the check for GNU_CONFIGURE because if a package
Makefile includes the buildlink.mk file, then it most likely wants to use
the config script wrappers as well.  Change suggested by Hubert Feyrer
(hubertf) and Tomasz Luchowski (zuntum).
2001-08-17 21:14:00 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
7b1d3cb465 Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:31 +00:00
jlam
9943bc93db Allow overriding of *_CONFIG variables in a package Makefile when using
USE_BUILDLINK_ONLY.
2001-07-02 05:33:56 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
3b65bde2f7 USE_CONFIG_WRAPPER is automatically set if USE_BUILDLINK_ONLY is defined,
so remove it from package Makefiles.  Also move the inclusion of the
buildlink.mk files to the end of the Makefile to just before bsd.pkg.mk
to ensure that any Makefile settings occur before the buildlink.mk files.
2001-06-29 04:54:49 +00:00
jlam
31d1b3af60 Use REPLACE_BUILDLINK instead of repeating the post-build same code over
and over again in the pkgsrc tree.
2001-06-26 16:30:55 +00:00
jlam
34d11d8a0f Generalize how the dependency pattern may be specified. Instead of just
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify
the dependency pattern as FOO_DEPENDS=foo>=1.0.  This allows things like
JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib.
Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
2001-06-23 19:26:48 +00:00
jlam
cc26aaeec2 Mark as USE_BUILDLINK_ONLY. 2001-06-19 03:47:31 +00:00
jlam
8f39419491 Regularize fixes to config scripts to use the same code. 2001-06-18 20:49:00 +00:00
jlam
1e82408585 Converted to use buildlink.mk files. 2001-06-16 20:02:10 +00:00
jlam
65618f73ac Refer to glib-config as $GLIB_CONFIG in the configure script. 2001-06-16 20:01:23 +00:00
jlam
8fea51aacb Add buildlink.mk files for use by other packages. 2001-06-16 19:23:17 +00:00
jlam
c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +00:00
rh
af03ce6561 Update ORBit to 0.5.8. Changes are bugfixes and new features needed by
bonobo-1.0.4 (sorry, no further details are known to me).
2001-05-21 19:59:03 +00:00
wiz
433b62957e Move to sha1 checksum, and/or add distfile sizes. 2001-04-21 11:23:08 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00
rh
9735546c94 Update ORBit to 0.5.7. Changes are bugfixes only. 2001-04-06 21:42:56 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
skrll
cfe2d3edae Make sure the shared version of libwrap is picked up in the configure
script on a.out platforms.

This avoids using a horrible hack that the new libtool doesn't like.
2001-03-13 08:08:33 +00:00
tron
8d63bfb4e2 Depend on "tcp_wrappers" version "7.6.1nb1" or newer under Solaris. 2001-03-10 23:36:22 +00:00
wiz
ce7f49dd1f msgfmt is not enough, we need gettext.m4. Noted by Bob Bernstein
in pkg/12205.
2001-03-02 17:35:14 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
fredb
3106e9c526 Make this build on m68k. 2001-02-07 03:23:08 +00:00
tron
f2d262e0be Use full pathname "${LOCALBASE}/bin/auto..." in dependences and make
targets. This includes a fix for PR pkg/12125 by Tomasz Luchowski.
2001-02-05 09:00:54 +00:00
dmcmahill
c4bba400bd add CPPFLAGS to MAKE_ENV becasue the ORBit build system reruns configure
in some places and misses the -I${LOCALBASE}/include needed for libintl.h

fixes recently noted build problems on 1.5 alpha.
2001-01-23 15:38:27 +00:00
tron
66c752478a Add dependence on "tcp_wrappers" under Solaris to get "libwrap". 2001-01-19 21:39:34 +00:00
tron
ff35005d97 Don't explictly check for the GNU "xgettext". The Solaris one works fine. 2001-01-14 12:19:34 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
rh
eb9ad9a7f3 Update ORBit to 0.5.6. Changes are bugfixes only. 2000-12-31 12:19:45 +00:00
jlam
001b6b3724 Properly cleanup lib/pkgconfig on pkg_delete. lib/pkgconfig is shared by
at least bonobo and ORBit, and need "@unexec rmdir ... || true", not
"@dirrm".
2000-12-04 15:40:51 +00:00
itojun
a81a353cc2 uses msgfmt, pull devel/gettext via BUILD_DEPENDS 2000-11-27 10:30:45 +00:00
jdolecek
43aba27401 use USE_LIBINTL instead of explicit dependance on gettext pkg - the package
seem to work ok with gettext/libintl which is in -current tree
2000-11-14 22:43:34 +00:00
jlam
74e80b8723 Update ORBit to 0.5.4. I couldn't find a list of changes from version,
0.5.3 -- only that 0.5.4 is the latest stable version of ORBit.

The pkgsrc-related changes are:

  * Compile and link libpopt statically into ORBit.  This is really a
    small library, and there are more recent versions available if we
    with to add it to pkgsrc.  Also don't install this library.

  * Compile the tcpd-specific code in libIIOP.
2000-10-17 23:48:00 +00:00
dmcmahill
65f9819617 make libIDL install/deinstall cleanly on both ELF and a.out. 2000-09-05 20:48:21 +00:00
wiz
f20c3003fc Update to 0.5.3, provided by Dan Winship. Changes are mainly bugfixes. 2000-08-09 23:09:35 +00:00
jlam
d0d079e75e The gettext package gained a shared library. For all packages which
link against libintl.so, update the dependency on gettext to >=0.10.35nb1.
2000-07-31 04:14:04 +00:00
jlam
e698a71b1d We depend on gettext-*, so actually find its headers. 2000-07-25 04:50:37 +00:00
wiz
3e28a7e10a fix PLIST for a.out 2000-07-11 13:17:25 +00:00
wiz
44c5d85e8c fix compilation on a.out.
Closes pkg/10559.
2000-07-11 11:23:39 +00:00
tron
5527a5bfb4 Thomas Klausner maintains this package at the moment. 2000-07-10 21:33:32 +00:00
wiz
c55d1544ed Update to 0.5.2. Changes seem to be bugfixes (no ChangeLog available). 2000-07-10 10:52:18 +00:00
jlam
3a0b53e15e Remove unnecessary patches to configure now that we USE_LIBTOOL. 2000-06-20 22:44:07 +00:00
jlam
2902e1bcc8 USE_LIBTOOL instead of PKGLIBTOOL. 2000-06-20 22:42:38 +00:00
rh
74add3b300 s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
2000-06-01 11:23:11 +00:00
drochner
deb7466e73 update to 0.5.1
Sorry, didn't fing a list of changes in the distribution nor on the
website.
2000-05-30 19:13:16 +00:00
agc
40dedc05d4 This package has moved category. 2000-05-12 09:22:46 +00:00
danw
82d9c1f174 Remove patches to deal with two bugs involving configure's handling of
INSTALL which have both been worked around in bsd.pkg.mk now.
2000-05-02 18:48:35 +00:00
tron
6d9e94f430 Adapt to new directory structure on GNOME ftp sites. 2000-01-02 18:02:39 +00:00
hubertf
67966c715b this wants gettext 1999-12-06 00:47:09 +00:00
tron
5521ad5c99 Repair patch broken my "no fuzz" cleanup. 1999-11-13 23:57:31 +00:00
tron
f6b13a2fb2 New patches supplied by UEBAYASHI 'UMA' Masao which apply without fuzz. 1999-11-12 08:15:56 +00:00
tron
c4572892a6 Update "ORBit" package to version 0.5.0 included in GNOME 1.0.53 release. 1999-10-22 23:35:37 +00:00
jlam
cac39361ef Change to depend on gindent-*. 1999-10-01 22:59:38 +00:00
agc
78985436cf Add a do-build target to work around what would appear to be a
compiler error.  I do not have the time, effort, energy or smarts to
fix the compiler.
1999-09-29 09:46:41 +00:00