Commit graph

47 commits

Author SHA1 Message Date
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
joerg
40ae1f06a1 Install only the newer PostgreSQL 7.1+ driver. Add DESTDIR support.
Bump revision.
2008-10-03 16:43:27 +00:00
wiz
2372c76c33 Integrate non-shared Makefile.common into Makefile.
Some pkglint cleanup.
2008-09-19 09:39:23 +00:00
tnn
ed811c325d Fix PLIST. The package also installs an older version of the PostgreSQL
driver, but without .la file.
2008-03-01 22:50:18 +00:00
adam
08adb1071f Changes 2.2.12:
* Add missing SQLSetStmtOptionA and SQLSetStmtOptionW
* The config string being passed into ConfigDsn was wrong, removed
  semicolon, and added terminating double null
* Add help help to isql
* Couple of changes to make the build on OSX work better
* Alter odbctest FullConnect to use SQLDriverConnect
* Replace a missed flag for true 64 bit operation
* Add ODBC3<->ODBC2 type mapping in SQLSetParam
* Add missing SQLSetStmtOptionW.c
* Tidy up the search for GUI lib code in SQLManageDatasource
* Backport a couple of changes from the Debian build into the
  cursor lib
* Add extra config settings to the MaxDB/SapDB setup lib
* Fix possible exit from SQLConnect without having closed
  in the driver
* Fix configure problem on Tru64
* Fix a build issue on Sinix
* Allow calling metadata functions via the cursor lib
* Alter args to SQLParamOptions
* Fix bug preventing attribute length from being returned from
  SQLDrivers
* Fix broken iusql
* more...
2008-02-09 07:06:33 +00:00
rillig
105dd4b97c Some packages need lex and yacc. Patch by Aleksey Cheusov via
pkgsrc-users.
2007-11-17 12:04:11 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
xtraeme
3477d29cf4 Commit modified patch missed in previous. 2006-01-23 20:52:26 +00:00
xtraeme
843e6bde82 Update unixodbc-* packages to 2.2.11 (latest stable version).
See http://www.unixodbc.org/ for the list of changes... sorry but
this package was not updated in 5 years, the list might be very large!
2006-01-23 20:50:47 +00:00
joerg
4c574bb6e0 Use SUBST framework. 2006-01-06 18:36:52 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
tv
458757c193 USE_TOOLS+=flex; without this, libodbctxt.la (without the 'S') is not built.
Bump PKGREVISION.
2005-11-09 21:21:10 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
671d62d2e2 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +00:00
reed
5cdfc74e37 Properly quote the MAKE_FLAGS.
This is from PR #29009 from Masanori Mikawa.
When built when using cpuflags includes, the quoting for AM_MAKEFLAGS
is wrong.
2005-01-19 19:13:21 +00:00
tv
0053da96f2 Update linkage to libltdl, now in its own package. 2004-10-15 11:54:10 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
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-03 00:12:51 +00:00
tv
5a7b6daac6 PKGREVISION doesn't belong here; the individual Makefiles set it. 2004-09-30 02:51:36 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
wiz
15c183f995 Unused. 2004-04-26 00:13:06 +00:00
xtraeme
e0e6de4597 bl3ify 2004-04-25 01:11:11 +00:00
jlam
e8132b3fbf Relinquish maintainership of packages to tech-pkg@NetBSD.org. 2004-04-24 22:46:08 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
heinz
18a916d5e6 Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248 2004-01-27 00:53:10 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +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
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
tron
09eb67b31f Use "mk/pthread.buildlink2.mk" instead of "devel/pth/buildlink2.mk" to
use native threads on platforms which support them.
2003-01-19 08:48:47 +00:00
jlam
baa96cfa61 All users of unixodbc/buildlink.mk have been converted to use buildlink2. 2002-09-20 21:48:18 +00:00
jlam
594e887946 buildlink1 -> buildlink2 2002-09-20 21:24:48 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
jlam
27cae62d46 These packages install libraries that differ from previous versions if they
are built using the hard-syscall-enabled pth.  Bump the PKGREVISION so we
can distinguish these packages from the previous ones.
2002-08-08 16:17:04 +00:00
jlam
6114321176 Convert to use pthread.buildlink.mk. 2002-08-01 06:40:50 +00:00
jlam
b68223d882 Remove unused variables now that we use PKGREVISION. 2001-12-04 15:55:47 +00:00
jlam
6658ed60e1 Use PKGREVISION to manage the package-specific version number when it
differs from the distfile version number.  G/C some the unused variables
in unixodbc/Makefile.common related to the old way of handling version
numbers.
2001-12-03 08:09:05 +00:00
jlam
55ffb37406 bsd.pkg.install.mk calls the INSTALL script at the right times
automatically, so no need to do it ourselves.
2001-12-02 06:56:38 +00:00
jlam
6e896e42e0 Forgot a CONFDIR -> PKG_SYSCONFDIR replacement. 2001-11-26 07:30:44 +00:00
jlam
ffceca11a9 PKG_SYSCONFDIR is where the configuration files for a package may be found.
This value may be customized in various ways:

PKG_SYSCONFBASE is the main config directory under which all package
	configuration files are to be found.

PKG_SYSCONFSUBDIR is the subdirectory of PKG_SYSCONFBASE under which the
	configuration files for a particular package may be found.

PKG_SYSCONFDIR.${PKGBASE} overrides the value of ${PKG_SYSCONFDIR} for a
	particular package.

Users will typically want to set PKG_SYSCONFBASE to /etc, or accept the
default location of ${PREFIX}/etc.

This obsoletes the use of CONFDIR, which was active for only 6 days, so no
need to have a workaround to still accept old CONFDIR settings.
2001-11-25 18:59:45 +00:00
jlam
b23d2e8626 Adapt to use shared INSTALL/DEINSTALL scripts by using the logic in
bsd.pkg.install.mk:

	* Remove old DEINSTALL/INSTALL scripts.
	* Move some text printed at POST-INSTALL time into the MESSAGE file.
	* Adjust rc.d scripts to respect rc.conf settings, so that the
	  script may be directly copied into /etc/rc.d.
2001-11-19 16:23:08 +00:00
jlam
8bae87330d Workaround differences in "make" behaviour between 1.5.2 and -current.
These packages use GNU-automake-generated Makefiles, so we can pass our
${MAKE_FLAGS} in through AM_MAKEFLAGS.
2001-11-07 06:12:19 +00:00
jlam
9586b56687 databases/unixodbc - ODBC 2.x/3.x driver manager
The unixODBC project provides UNIX applications with the same ODBC 3.51
API and facilities available under MS Windows. It provides a Driver Manager
that supports the full ODBC API and performs the ODBC 3 to ODBC 2
translations with UNICODE to ANSI conversion.  It also includes a collection
of ODBC drivers including a simple text-based driver, an NNTP driver, a
Postgres driver and others, and a selection of templates and libraries that
to aid in the construction of ODBC drivers. It works with MySQL, Postgres,
StarOffice, Applixware, iHTML, PHP, Perl DBD::ODBC, Paradox 9, and many
other applications and drivers.  Connection pooling is also provided to
increase performance with applications such as PHP.
2001-11-06 04:08:33 +00:00