Commit graph

67 commits

Author SHA1 Message Date
wiz
af3596f984 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:36:05 +00:00
dsainty
1f40f3a084 Mechanically replace references to graphics/jpeg with the suitable
alternative from mk/jpeg.buildlink3.mk

This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).

The mechanical edits were applied via the following script:

#!/bin/sh
for d in */*; do
  [ -d "$d" ] || continue
  for i in "$d/"Makefile* "$d/"*.mk; do
    case "$i" in *.orig|*"*"*) continue;; esac
    out="$d/x"
    sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
        -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
        < "$i" > "$out"
    if cmp -s "$i" "$out"; then
      rm -f "$out"
    else
      echo "Edited $i"
      mv -f "$i" "$i.orig" && mv "$out" "$i"
    fi
  done
done
2010-12-23 11:44:24 +00:00
wiz
e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00
wiz
91871f449e Second try at jpeg-8 recursive PKGREVISION bump. 2010-01-18 09:58:37 +00:00
tron
9254745516 Specify the path to X11 libraries explicitily in the configuration step.
This fixes the build under Solaris with modular X.org and shouldn't
hurt anywhere else (tested under NetBSD/amd64 5.0_STABLE with
native X.org).
2010-01-10 14:32:01 +00:00
joerg
a641d439fe Enable jpeg and png support. From Marc Balmer. 2009-12-08 20:25:30 +00:00
tez
504e90fb80 Fix build for SunOS modular x11 (PR#36132) 2009-10-19 21:47:22 +00:00
joerg
c3f5733f9d Move PKG_INSTALLATION_TYPES and PKG_DESTDIR_SUPPORT before bsd.prefs.mk. 2009-06-30 00:42:01 +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
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
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
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
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +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
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
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
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
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
xtraeme
e9d9e77dca bl3ify 2004-04-11 18:21:32 +00:00
xtraeme
5f58933408 Same libraries were not installed in FreeBSD, so use PLIST_SUBST to
make the precompiled package.
2004-02-02 23:10:29 +00:00
agc
24a46ed346 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:28:26 +00:00
heinz
214f735e4d use 'test -d' for directories to improve portability (solves problem in http://mail-index.netbsd.org/tech-pkg/2003/11/19/0000.html) 2003-11-20 11:13:51 +00:00
martti
6e809ce2d4 Use GNU make in Linux 2003-09-09 12:23:28 +00:00
jlam
b2677a2cb0 Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES".  bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
2003-08-30 22:51:11 +00:00
grant
eb46275523 improve COMMENT. 2003-08-08 09:25:16 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00