Commit graph

42 commits

Author SHA1 Message Date
joerg
e198d6396c Don't use malloc.h. 2007-10-05 23:08:10 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
wiz
768a49f2dd Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 21:47:16 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
joerg
d1760ee333 Use system sys_errlist on DragonFly and FreeBSD as well. 2006-01-03 18:30:16 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
wiz
2d7f3ef460 Convert to bl3, untested. 2005-04-05 11:50:25 +00:00
wiz
cfc455ed87 Sort. 2005-04-05 11:50:14 +00:00
wiz
b8e0eb28f4 Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be
useful.
2005-03-24 21:12:50 +00:00
agc
6fa3382159 Add RMD160 digests in addition to the SHA1 ones. 2005-02-22 21:28:55 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
minskim
2827f5b2d8 Enable tk84 and replace x11/tk with x11/tk83. Packages compatible
with 8.4 will be updated to depend on x11/tk after Tk update.
2004-03-08 20:27:13 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
cjep
cfe8be1263 Add RCS IDs 2003-10-18 13:20:31 +00:00
rtr
bcf0e04377 Revert:
That's the wrong naming convention - patch-xy for any particular
 xy is assigned to a particular source file for life.   They don't
 get squashed back to aa ab ..., ever.

Make patch-aa -> patch-ae.
2003-10-08 10:48:01 +00:00
rtr
963ef26679 Make package depend on xv, otherwise it's useless.
Should resolve pr pkg/23092.
Change approved by Johnny C. Lam.
2003-10-08 10:43:20 +00:00
rtr
75a6f41efb patch-aa: Convert to use stdarg instead of varargs for gcc3
Should resolve pr pkg/23091.
Patch approved by Johnny C. Lam.
2003-10-08 10:40:37 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
salo
ac6202cd00 s/INSTALL_*/BSD_INSTALL_*/ in patch-ad, remove unnecessary MAKE_ENV.
Add HOMEPAGE.
2003-01-19 07:13:49 +00:00
zuntum
273821c4d3 Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +00:00
wiz
a8e89c101a Wildcard tk dependency. 2001-05-31 11:48:24 +00:00
agc
b6f04cc107 Move to sha1 digests, and add distfile sizes. 2001-04-18 14:24:33 +00:00
agc
9e8d6c8b8d + 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:33:31 +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
jwise
6e390a85b7 Adapt to tk-8.3.2. 2000-08-30 23:53:12 +00:00
wiz
188035c823 use DISTNAME and PKGNAME instead of directly setting DISTFILES 2000-01-09 01:39:14 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
agc
f4d5171de1 Add package patch checksum files. 1999-07-09 14:09:02 +00:00
garbled
3fe7edf239 add USE_X11=yes 1999-04-26 18:56:13 +00:00
agc
363146f85e Update to tk version 8.0.5. This seems to be primarily a bug-fix release. 1999-04-01 13:38:43 +00:00
garbled
2dd5c08c03 Add the -rpath magic to make it go. 1998-09-13 15:15:00 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
agc
4fbcbb4b68 Don't hardcode /usr/pkg and /usr/X11R6 in a Makefile - use the values
for LOCALBASE and X11BASE which are passed down through the environment.
Pointed out by Manuel Bouyer.
1998-05-19 12:41:07 +00:00
agc
1f4495b33e Remove the old deprecated DEPENDS definition from bsd.pkg.mk.
Implement a new DEPENDS definition, which looks for an installed
package, building it if not present, and use it in preference to
LIB_DEPENDS.  This should make the package collection more useful on
NetBSD ELF ports.
1998-04-22 14:22:39 +00:00
agc
258b808c9f Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
1998-04-15 10:38:15 +00:00
hubertf
1ba4a8d310 Fix stripping of binaries (caused by fixing PR4884) 1998-02-09 00:09:25 +00:00
agc
ae35b61548 Modify individual package Makefiles to use the new way of specifying
shared object dependencies (LIB_DEPENDS).
1998-01-30 13:56:55 +00:00
hubertf
72e4b43b08 portlint: add header, move WRKSRC 1998-01-24 20:43:47 +00:00
is
1a7d93a605 Upgrade to imm-3.6a1 1997-11-24 15:04:25 +00:00
is
bbd9f81052 Add NetBSD RCS-ID and NetBSD maintainer. 1997-11-24 12:06:23 +00:00
is
59265aaac1 Initial import of FreeBSD "imm" port as package. 1997-11-24 12:00:45 +00:00