Commit graph

47 commits

Author SHA1 Message Date
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
caf13780db Unused. 2004-05-05 08:27:56 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
snj
c43c5d4d8f Nuke unnecessary LTCONFIG_OVERRIDE and CONFIGURE_ARGS. 2004-03-08 03:22:16 +00:00
snj
c40a803a7b bl3ify. 2004-03-08 02:36:23 +00:00
jschauma
6048206d2c As pointed out by jlam:
bump PKGREVISION on packages depending on graphics/glu due to latest shlib
changes there.
2003-11-30 22:58:40 +00:00
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
jmmv
7fe1fe9f87 Line up PKGREVISION whitespace. 2003-05-05 14:41:54 +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
jschauma
556dfd66a9 More updates from Mesa:
As with the Makefiles, only include Mesa's buildlink when necessary,
otherwise include MesaLib's and/or glu's buildlink.
2003-03-12 22:07:27 +00:00
jschauma
e7c1762bd0 Bump PKGREVISION due to upgrade of Mesa and friends.
Only include Mesa/buildlink2.mk if the package requires all three of
MesaLib, glu and glut - else only include the necessary buildlink2s.
2003-03-09 19:23:09 +00:00
tron
67b0e40968 Include buildlink2 glue code for "Mesa" and "gtk" to fix the Mesa detection
in e.g. the "gnome-python" package
2002-12-30 15:39:30 +00:00
wiz
d80a3aad0e Drop unneeded USE_MESA. 2002-10-20 13:36:17 +00:00
wiz
b80d83ae09 Unused. 2002-09-23 16:58:56 +00:00
wiz
3be8bea35a Convert to buildlink2, add buildlink2.mk. 2002-09-23 16:56:03 +00:00
agc
9fdff9b5c8 Add a buildlink.mk file for this package. 2002-07-17 12:51:29 +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
zuntum
d3db18607d Move pkg/ files into package's toplevel directory 2001-10-31 22:03:21 +00:00
tron
a5e6d8ab03 Add missing "Size" entries. 2001-05-21 05:27:56 +00:00
agc
8f972b049a + 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 12:12:16 +00:00
rh
aa77e2b12a Update gtkglarea to 1.2.2. Changes are minor bugfixes only. 2001-04-07 19:34:31 +00:00
wiz
a486f11406 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:06:11 +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
1d8820934c Use new USE_MESA variable to depend on the correct Mesa packages 2000-10-15 12:06:32 +00:00
agc
90515e7cce Use EVAL_PREFIX to be a bit more precise about package prefices. 2000-07-18 15:20:59 +00:00
agc
78748d628a Instead of the clunky SHOW_PKG_PREFIX, introduce an EVAL_PREFIX definition,
which takes entries of the format <make-definition-name>=<pkgname>. This
has not been added to MAKEFLAGS because (a) premature optimisation is the
root of all evil, and (b) because the .for loop used to implement this
shows the wrong results when multiple prefices are evaluated.

Modify all the package Makefiles to use EVAL_PREFIX, thereby simplifying
them considerably.

ALso simplify the logic to calculate the prefix as well.
2000-07-15 20:39:13 +00:00
agc
69cbb39071 The previous method of using a make target for finding a prerequisite
package's prefix would not work as part of the environment specification
via MAKE_ENV (as it would not be executed in the correct directory).

Fix this by invoking pkg_info(1) directly, not via an intermediate make(1)
step - this is not as clean, but more effective (i.e. it works).
2000-07-14 16:04:19 +00:00
agc
4aeac45f89 Make the determination of the pre-req package's installed directory be
a bit more user-friendly.

Introduce a show-{gtk+,imlib,kdebase,qt1,qt2,xpm}-prefix target in
bsd.pkg.mk, and use "${MAKE} show-*-prefix" in package Makefiles.
2000-07-11 14:53:35 +00:00
agc
e05e4735dd Hardcoding X11PREFIX into package Makefiles forces the user to install
xpkgwedge once, before any other packages have been installed, and
never to delete it.  This change finds the prefix of the installed
pre-req package using pkg_info(1), and allows packages to be found in
${X11BASE} and ${LOCALBASE}, not just ${X11PREFIX} - from mail from
Dave Sainty <dave@dtsp.co.nz>, munged slightly by myself.
2000-07-10 10:40:39 +00:00
agc
d951a0d54f Make this package xpkgwedge-safe by using the new X11PREFIX definition
in preference to X11BASE when trying to find the installed location of
X11 libraries, programs and headers (which will change if xpkgwedge is
installed).

[X11BASE reflects the location of the X11 libs, headers and programs.
X11PREFIX reflects the installed location of X11 packages.]
2000-06-30 10:04:46 +00:00
jlam
d1024f14aa USE_LIBTOOL instead of PKGLIBTOOL. 2000-06-21 02:58:23 +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
tron
dbe4b20b73 Make this work with Mesa 3.1 or newer. 2000-04-05 20:46:13 +00:00
wiz
f111450abf remove unnecessary whitespace 2000-02-05 15:48:52 +00:00
tron
84d3e78db1 - Add missing file "share/aclocal/gtkgl.m4" to package list.
- create a link for "gtkgl.m4" in "${LOCALBASE}/share/aclocal" if
  "${LOCALBASE}" is not identical with "${X11BASE}".
1999-10-23 00:00:54 +00:00
tron
b7f3f61a86 Use wildcard dependence for "Mesa" package so that either standard or
hardware accelerated Mesa libraries can be used.
1999-09-29 22:58:43 +00:00
rh
6c7e0a91ff Update dependency on gtk+-1.2.4 1999-08-28 09:43:06 +00:00
sakamoto
b84802703f Update gtkglarea to 1.2.1. 1999-07-22 23:44:35 +00:00
agc
00a16e3008 Add package patch checksum files. 1999-07-09 14:22:59 +00:00
tron
4c1a6ff88f Update dependence for "gtk+" package to version 1.2.2. 1999-05-02 14:35:56 +00:00
tron
641fe72917 Use our own "libtool" to build library. 1999-04-27 22:23:14 +00:00
tron
13bccdbb65 Update dependence for "gtk+" package to version 1.2.1. 1999-04-16 20:16:40 +00:00
tron
5d0380257b Update dependence for "gtk+" package. 1999-03-04 08:56:06 +00:00
agc
f6473207ca Replace all occurrences of USE_X11 with USE_X11BASE. This means "install this
package into ${X11BASE}".
Replace all occurrences of BUILD_USES_X11 with USE_X11. This means "use X11
headers and libraries to build this package".
1999-01-30 23:18:44 +00:00
tron
23ff9e70f3 Fix dependence for "gtk+" package. 1999-01-20 10:11:39 +00:00
hubertf
090f950b96 OpenGL/Mesa widget for GTK+ GUI toolkit 1999-01-20 01:55:51 +00:00