Commit graph

27 commits

Author SHA1 Message Date
jlam
eebb8986f6 Mark as USE_BUILDLINK_ONLY. 2001-06-25 20:03:54 +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
328a35f96f LIBS is automatically added to CONFIGURE_ENV by bsd.pkg.mk if
GNU_CONFIGURE is defined, so simply set LIBS to the appropriate value.
2001-06-12 20:33:00 +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
jlam
dbfde59b14 The buildlink include and lib directories are added to CFLAGS, CPPFLAGS,
CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra
definitions to add them from the package Makefiles.  As advised by the
bsd.buildlink.mk file, also ensure that the buildlink.mk files are
included prior to defining any package-specific CFLAGS/LDFLAGS to ensure
that the buildlink directories are at the head of the compiler search
paths.
2001-06-11 02:05:07 +00:00
jlam
072be2ad69 Use bsd.buildlink.mk instead of duplicating code all over the place. 2001-06-11 01:59:33 +00:00
jlam
5d02f04b3a Use cookies (.*_done) to determine whether headers and libs have been
linked from a particular package, and add a pre-configure target to
the buildlink.mk file to more painlessly use buildlink.mk files.  A
${BUILDLINK_TARGETS} variable still exists in case a package _must_
define NO_CONFIGURE.
2001-06-10 00:09:29 +00:00
jlam
3bc5e40254 Remove dependency on ${BUILDLINK_TARGETS} in pre-configure and pre-build
targets as the buildlink.mk files now add the dependency automatically.
Remove any NO_CONFIGURE definitions as they seem to be useless.
2001-06-10 00:08:41 +00:00
wiz
5be454e29d ' '->'\t' 2001-06-09 15:25:18 +00:00
jlam
f97c2600f4 Add conflict with freetype<1.3.1 to freetype-lib and freetype-utils.
Fixes pkg/13084 by Bill Squier <groo@old-ones.com>.
2001-06-07 16:07:12 +00:00
jlam
88a22cb3bd Rework build to use buildlink.mk files so that it won't pick up installed
headers and libraries during a "make build".
2001-05-28 03:16:44 +00:00
jlam
3fff674009 Add buildlink.mk file to link appropriate libraries and headers into
${BUILDLINK_INCDIR} and ${BUILDLINK_LIBDIR}, to be used by other packages.
2001-05-28 03:09:10 +00:00
jlam
4acac02ea9 Install locale files under ${PKGLOCALEDIR} instead of always under share.
Cosmetic file changes to Makefile.common.
2001-05-03 04:28:25 +00:00
jlam
c662685ee8 Share a common distinfo file between freetype-lib and freetype-utils. 2001-05-03 04:24:35 +00:00
wiz
a4f21a5507 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 09:54:06 +00:00
agc
fb467f5ac2 + 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:22:34 +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
wiz
95e76ac1d4 Add a test if an older version of freetype-lib is installed before building,
since this breaks builds (much too often).
2001-03-16 13:28:38 +00:00
wiz
a2a4d06c6f Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 15:22:13 +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
itojun
00df3db5a9 use USE_LIBINTL. 2000-11-04 07:05:09 +00:00
jlam
b371751250 Bump dependency on gettext to >=0.10.35nb1. For some reason, this was
missed in the sweep.
2000-10-06 01:27:38 +00:00
jlam
de9976c25d Update freetype to 1.3.1. Shared library bumped its major due to
API changes.  This version has bug fixes and several major enhancements
in loading and displaying TrueType fonts.  This closes PR#10261 by
ORI Manabu <ori@tahoo.org>.
2000-07-22 08:12:39 +00:00
jlam
54e07204b4 USE_LIBTOOL instead of USE_PKGLIBTOOL. 2000-06-21 00:46:09 +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
jlam
659a876be9 Move gettext dependency from Makefile to Makefile.common 2000-05-01 21:53:33 +00:00
jlam
ec514b8f91 freetype-lib: FreeType library and headers only 2000-05-01 06:02:23 +00:00