Commit graph

96 commits

Author SHA1 Message Date
joerg
c3f5733f9d Move PKG_INSTALLATION_TYPES and PKG_DESTDIR_SUPPORT before bsd.prefs.mk. 2009-06-30 00:42:01 +00:00
joerg
b02a0f888e Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +00:00
wiz
60f460ab01 Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
2009-05-19 08:59:00 +00:00
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
wiz
285b7dd776 Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal. 2008-11-10 17:21:33 +00:00
tnn
1f17bdd6de Needs pkg-config 2008-07-22 20:44:04 +00:00
tnn
3f5c9fc822 The master site doesn't seem to grok passive FTP, so prefer to use HTTP. 2008-07-17 09:10:50 +00:00
dsainty
e4e149f648 Buildlink in libXft, which is referenced from (at least) /usr/pkg/lib/libMrm.la. Fixes build of x11/xlt (under Linux) 2008-07-17 09:02:54 +00:00
drochner
f864fda4fa -needs libXft to build
-don't try to @dirrm include/X11/bitmaps
2008-07-15 10:37:35 +00:00
christos
4019a59827 update to openmotif 2.3.1 2008-07-14 23:01:32 +00:00
rillig
1066e662ae MAKE_JOBS_SAFE=no, as reported in PR 37233. 2007-10-27 12:31:15 +00:00
joerg
ef0d2e7e15 Remove building some data files that aren't used anyway.
Add cross-compilation support for the rest.
2007-08-15 19:26:39 +00:00
joerg
fa0ec919a8 Stop messing with X11/Xmos_r.h, just replace it with a direct include
of X11/Xos_r.h and assume that has all the magic. If it is really
necessary to hack around limitations of other platforms, we can do
that later in a more specialised fashion. Bump revision.
2006-12-15 19:13:22 +00:00
joerg
eef94bce5e Switch to modular buildlinks. 2006-11-06 10:32:18 +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
464acf32cc Fixed some pkglint warnings. 2006-05-21 11:41:59 +00:00
gdt
c01d49eea3 Cleanup RESTRICTED by using bsd.prefs.mk to get OPSYS where we want
it.  Vastly simplify os-checking logic.  Don't set NO_SRC_ON_FTP,
ever, following insightful comments from dillo@.
2006-05-16 13:11:59 +00:00
gdt
40a14f8a35 Rewrite and debug logic to check for list of open-source operating
systems.  This version is consistent with what I've been saying on
tech-pkg about defining NO_BIN_ON_FTP for non-open-source OSes, and
not defining it on NetBSD and other open source OSes.  Fix pkglint
warnings.
2006-05-15 13:26:40 +00:00
gdt
814650e954 Remove NOT_FOR_PLATFORM for Interix; that should be for technical
issues only, not licensing.

Add LICENSE=openmotif-license because this software is non-Free.

Set RESTRICTED, and NO_*_ON_CDROM because the license has complex
terms for "commercial product offering".

If $(OPSYS) is not in
  DragonFly FreeBSD Linux NetBSD OpenBSD
set NO_*_ON_FTP, because the license only grants distribution rights
for open source operating systems.

I believe this commit will still prevent openmotif from building on
Interix without setting ACCEPTABLE_LICENSES, and should also result in
all 4 of NO_*_ON_* being set on Interix.

There's too much make code to implement NO_*_ON_FTP-on-other-than-list
(munged from bsd.pkg.mk), but I didn't see a way to make
ONLY_FOR_PLATFORM run a makefile fragment on other platforms.
2006-05-14 16:35:58 +00:00
tv
3e8495b893 Only Open Source OS's are allowed to use this -- nuke Interix via NOT_FOR_.
(Others should be here, but I don't have responsibility for those platforms.)
2006-05-14 14:52:56 +00:00
joerg
e9ff8acae8 Add flex as tool. 2006-05-02 08:56:37 +00:00
rillig
9fc2d7d281 Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
2006-04-22 09:22:05 +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
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
joerg
9bb34014da Fix build on NetBSD systems:
If we have NetBSD 2.99.10 and higher, getpwuid_r and friends exist,
but _PTHREAD_THREAD_SAFE_FUNCTIONS might not be defined. Define it.
For NetBSD before 2.99.10, explicitly set XNO_MTSAFE_PWDAPI to enforce
locked access via normal functions.
2006-01-09 13:13:52 +00:00
wiz
06d5f26332 USE_TOOLS+=, not =, says pkglint. 2006-01-08 22:11:52 +00:00
joerg
876987c960 Fix a number of buffer overflows in OpenMotif's UIL implementation.
For non-propolice systems this might be exploitable when the
user-provided data (e.g. certain filenames) or the locale files are
manipulated.

Mostly-found-by: xfocus, see [xfocus-SD-051202] on VulnWatch. Some
additional cases are handled which have the same impact.
Bump revision.
2006-01-07 21:08:12 +00:00
joerg
8693cc617c Fix spelling. Found by wiz@. 2006-01-04 15:53:15 +00:00
joerg
51351627d3 getpwuid_r and friends only exist on NetBSD 2.99.10 and higher,
so use them only on those systems.
2006-01-04 15:20:45 +00:00
joerg
9fe19b25ca 2.2.3 and 2.1.x are not compatible, force use of 2.2.3. 2005-12-12 19:57:52 +00:00
joerg
cd73234257 Update OpenMotif to 2.2.3. Too many changes to list here, but most
importantly no more imake usage.
2005-12-12 19:55:41 +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
erh
de1415b581 s/defineD/defined/ so openmotif actually compiles w/o errors. 2005-08-15 19:17:22 +00:00
wiz
98cbd5dbc1 openmotif needs x11 headers and libraries, so include mk/x11.buildlink3.mk. 2005-07-24 00:55:43 +00:00
wiz
486cf4cf3b Add DragonFly support (untested). Provided by Jörg Sonnenberger
in PR 30258.

While here, clean up pkglint warnings.
2005-06-27 14:08:15 +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
jlam
163b6e6c2b Remove USE_TBL from pkgsrc and replace with USE_TOOLS+=tbl. 2005-05-22 21:04:41 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
4c441c2ed3 Add patch to fix CAN-2005-0605. Bump PKGREVISION. 2005-03-10 16:00:31 +00:00
wiz
393af94024 Add RMD160 checksums to the SHA1 ones. 2005-02-23 17:36:09 +00:00
minskim
601eea5fc3 Enable pkgviews installation. 2004-12-25 22:22:00 +00:00
tron
fd63287501 Fix vulnerabilities reported in CAN-2004-0687 and CAN-2004-0688 by
applying a patch based on ICS's patch for OpenMotif 2.2.3.
2004-12-18 00:39:31 +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
danw
f5915880ac fix up the darwin config files to deal with something that changed in
buildlink at some point
2004-08-31 03:10:16 +00:00
drochner
0ed83abfac just require "tbl", not necessarily the whole groff 2004-07-22 17:04:28 +00:00
drochner
3c718a82b3 depend on groff and use ${TBL} for tbl,
fixes PR pkg/23010 by Jeremy C. Reed
2004-07-09 12:34:53 +00:00
wiz
f4257e2c3a Unused. 2004-05-03 23:32:28 +00:00