Commit graph

74 commits

Author SHA1 Message Date
jlam
554bc08289 We no longer expect PTHREAD_TYPE to be defined after including
bsd.prefs.mk.  It's value is now supposed to be checked after including
pthread.buildlink.mk.
2002-08-01 05:36:33 +00:00
jlam
753e8e8e87 Move the definition of OBJECT_FMT for NetBSD-1.3.x back _below_ the
inclusion of bsd.own.mk.  This is to allow OBJECT_FMT to be set explicitly
in ${MAKECONF} (/etc/mk.conf) to override the setting in bsd.own.mk on the
older NetBSD systems.
2002-06-21 21:06:48 +00:00
jlam
d52785d9bf Move the definition of OBJECT_FMT for NetBSD-1.3.x systems ahead of the
inclusion of defs.*.mk so that they can conditionalize on OBJECT_FMT.
2002-06-21 17:49:47 +00:00
schmonz
4a19db1481 On Darwin, before including <bsd.own.mk>, set OBJECT_FMT to "Mach-O".
(<bsd.own.mk> tries to set it to "ELF" otherwise.) The problem was
unmasked by -r1.983 of bsd.pkg.mk.

Approved by agc.
2002-05-30 22:15:40 +00:00
fredb
d9607f2757 Append "elf" to ${MACHINE_GNU_PLATFORM}, for NetBSD archs that were once
a.out but are now ELF, in a way that's consistent with bsd.own.mk in
NetBSD-current. This, incidently, makes the gcc package build again on
NetBSD-1.5.3_ALPHA/i386.
2002-03-18 05:46:42 +00:00
jlam
e023ba1995 Define a symbol BSD_PREFS_MK that may be checked by Makefile fragments to
see whether they are being included from within bsd.prefs.mk or from
without.
2001-12-26 19:16:59 +00:00
jlam
d0bd34b556 Initial implementation of pthread.buildlink.mk to transparently allow for
using either the native pthread implementation or using a package pthread
implementation instead, e.g. pth, ptl2, mit-pthreads, etc.  The only
currently supported package pthread implementation is pth as it's the only
one with a buildlink.mk file.  An example usage is:

	USE_PTHREAD=	native pth
	.include "../../mk/pthread.buildlink.mk"

or a fancier example is:

	USE_PTHREAD=	native
	.include "../../mk/bsd.prefs.mk"
	.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
	CONFIGURE_ARGS+= --without-pthreads
	.endif
	.include "../../mk/pthread.buildlink.mk"
2001-12-24 19:29:32 +00:00
wiz
9d774a36a3 Retire USE_CURSES, which was superseded by devel/ncurses/buildlink.mk, and
has now been purged from pkgsrc.
2001-12-12 16:30:04 +00:00
abs
e40b0cc41e Add LOWER_OS_VERSION to match LOWER_OPSYS, LOWER_VENDOR, and LOWER_ARCH 2001-12-12 12:31:14 +00:00
tv
92d724ccfe In the odd possible case of someone using "pkgsrc" underneath "src"
(even though that's still a bad idea), set USETOOLS=no explicitly before
including <bsd.own.mk>, and add this also to MAKE_ENV to make BSD-Makefile
based packages build properly.
2001-11-28 19:58:13 +00:00
agc
6dde5fcc79 Move some operating-system specific definitions to the individual
defs.${OPSYS}.mk files.
2001-11-21 14:10:06 +00:00
agc
55b1c236e7 My thanks to Thorsten - this part of my change for Darwin support was
lost.

However, modify previous change to let Darwin know about SHAREOWN,
SHAREGRP and SHAREMODE in a different way - no point in checking for
OPSYS here, since every OPSYS has to know about them.
2001-11-04 19:49:56 +00:00
frueauf
8e847c8588 "Darwin" needs to know about SHAREOWN, SHAREGRP and SHAREMODE too. 2001-11-04 13:42:01 +00:00
agc
7167cd3880 Add initial support for Darwin (1.4) to pkgsrc. 2001-10-30 13:53:15 +00:00
tron
85eb51b084 Include "bsd.own.mk" before "bsd.pkg.defaults.mk" because otherwise "?="
assignments in "/etc/mk.conf" won't work anymore.
2001-09-21 15:28:35 +00:00
agc
91d1845f89 Add a new bsd.pkg.defaults.mk file, derived from the old mk.conf.example.
This file is "included" automatically before <bsd.own.mk> includes
/etc/mk.conf, so that pkgsrc-wide default values are set.

It is now possible just to set values in mk.conf only where they differ
from the default, thereby easing the problems of updating mk.conf when
new values get added.
2001-09-18 21:30:05 +00:00
abs
7cb5dda995 shuffle some whitespace to make it more obvious what is going on 2001-08-24 09:00:44 +00:00
skrll
6b1239edda Add GNU_ARCH.sparc64 entry.
This should fix pkg/13714 by Martti Kuparinen <martti.kuparinen@iki.fi>
2001-08-14 11:00:44 +00:00
hubertf
04f42d0486 ZOULARISBASE: If there's no $LOCALBASE/bsd, try $LOCALBASE 2001-07-26 16:13:52 +00:00
hubertf
f93ab578be Close a quote.
Noted by Will Andrews <will@physics.purdue.edu> in private mail.
2001-07-26 08:33:02 +00:00
abs
4348e0d6e2 Switch solaris default LOCALBASE across to /usr/pkg 2001-07-17 10:11:32 +00:00
tron
19cbb67830 Check if "${X11BASE}/lib/X11/config/X11.tmpl" exists before searching
with "grep" through it in Mesa library handling.
2001-07-10 16:37:13 +00:00
tron
75d0cbc0b3 Add new variable "SPARC_TARGET_ARCH" used to select the target architecture
under Solaris/SPARC. Default is "sparcv7".
2001-07-10 15:07:35 +00:00
tron
9f2922b0a3 Use ":=" in assignment of "ZOULARISBASE" because "LOCALBASE" might get
redefined later.
2001-07-10 11:13:31 +00:00
fredb
a031a501cf Provide missing parenthesis for CHECK_XPM. 2001-07-09 14:31:58 +00:00
tron
8f157753f2 Check if "${X11BASE}/lib/X11/config/X11.tmpl" before searching with
"grep" in it to avoid problems under Solaris.
2001-07-06 21:10:20 +00:00
abs
039063bc7a bsd.prefs.mk: Make OBJECT_FMT work on NetBSD 1.3 2001-07-05 21:11:07 +00:00
mjl
fff9689237 Add GNU_ARCH.powerpc. This fixes some of the recent problems experienced
on macppc compiling packages.

XXX This should come from bsd.own.mk but doesn't. Why?
2001-07-03 02:20:38 +00:00
jlam
8d8c3630b3 Make check for Xpm in XFree86 look like the checks for Mesa and freetype2. 2001-07-02 08:02:33 +00:00
drochner
74e42922d3 add an explicite GNU_ARCH.mipsel assignment to work around poor interaction
with <bsd.own.mk>
2001-06-28 13:16:56 +00:00
jlam
c459aefcea Move default setting of XAW_TYPE to bsd.prefs.mk. 2001-06-20 19:36:03 +00:00
veego
37ac671b39 Add a check for the libGLU which comes with XFree86 4.1.0: HAVE_BUILTIN_GLU
To be used in the Mesa package.
2001-06-16 08:45:41 +00:00
skrll
8d29eaa75e Put back stuff deleted in last commit. 2001-06-14 16:04:06 +00:00
rafal
df29860f63 Add GNU_ARCH.mipseb (which is just mipseb); now pkgsrc make machinery passes
the right (ARCH, VENDOR, OS) tuple down to GNU_CONFIGURE using programs.
Fixes PR pkg/13196.
2001-06-14 13:45:12 +00:00
jlam
9eb4042def Fix inclusion of defs.*.mk files so that it works from anywhere in the
pkgsrc tree that contains a Makefile.
2001-06-12 18:58:42 +00:00
jlam
28c0882df0 Migrate some OS-specific variable definitions into OS-specific files.
Include it in bsd.prefs.mk to allow their use much earlier in Makefiles,
and try to use the variable references instead of directly invoking the
programs in bsd.prefs.mk and bsd.pkg.mk where possible.
2001-06-12 12:49:55 +00:00
tron
e23961c250 Define "HAVE_OPENWINDOWS" if we are using OpenWindows as X11 distribution
under Solaris.
2001-06-08 21:21:05 +00:00
tron
2785edcf1b Set "X11BASE" much earlier under Solaris to get "USE_MESA" and "USE_XPM"
working if "X11BASE" is not set by the user.
2001-06-07 15:17:08 +00:00
abs
41ed126f87 Default LOCALBASE to /usr/pkg, and override to /usr/local in Solaris case.
No change in NetBSD case, switches to /usr/pkg in Linux case.
2001-05-17 15:08:17 +00:00
abs
d579f1ad6f In the Linux case, if MACHINE_ARCH is unknown set it to LOWER_ARCH (it does
seem a little backwards).
2001-05-17 15:00:26 +00:00
jlam
981957ed83 Fix a typo: a = sign should actually be !=. The CHECK_FREETYPE2 stuff
should actually work now on non-XFree86-4.0.x systems.
2001-05-02 04:53:11 +00:00
jlam
14c029bbc6 Handle freetype2 package like the MesaLib package as it is bundled with
XFree86-4.0.x.  Missed committing this file along with the related changes
to graphics/freetype/Makefile and mk/bsd.pkg.mk.
2001-04-22 04:52:31 +00:00
hubertf
58c237d9a9 Invent ZOULARISBASE, defaulting to $LOCALBASE/bsd, to make it possible
to setup Zoularis (or similar :-) environments to be closer to hier(7).
2001-04-08 14:14:11 +00:00
tron
019408d663 Fix typo in last commit. 2001-03-24 21:06:52 +00:00
tron
31e46b2da8 Only enforce the use of Zoularis under SunOS. 2001-03-24 21:05:49 +00:00
tron
f59b7c2acc Add missing check for NetBSD in last commit. 2001-03-23 15:49:23 +00:00
tron
5a4f1f9f65 Provide Zoularis version number as "${ZOULARIS_VERSION}" on non NetBSD
systems.
2001-03-23 15:47:21 +00:00
dmcmahill
5010ec768b add a list of default serial devices on a per machine_arch basis as discussed
a while back on tech-pkg.  Note that these defaults will not be 100% accurate
as different machines with the same MACHINE_ARCH may have different serial
hardware.  However the default serial device may then be overridden in /etc/mk.conf.
This should at least be better than what we had before ("all the world is i386").
2001-03-19 14:46:04 +00:00
agc
100c6a7268 Add an explanatory comment. 2001-03-13 09:53:37 +00:00
agc
969f45aafe Only add DIGEST_VERSION to MAKEFLAGS when we know it's a valid version.
Addresses PR 12397
2001-03-13 09:41:36 +00:00