pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Define the SERIAL_DEVICE defaults.
details: https://anonhg.NetBSD.org/pkgsrc/rev/46b3109f2fc6
branches: trunk
changeset: 473597:46b3109f2fc6
user: tv <tv%pkgsrc.org@localhost>
date: Wed Apr 21 14:53:51 2004 +0000
description:
Define the SERIAL_DEVICE defaults.
Remove "-fpic" and "-fPIC" via BUILDLINK_TRANSFORM globally.
Turn on _USE_GNU_GETTEXT since there is no libintl in the base system.
diffstat:
mk/defs.Interix.mk | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diffs (39 lines):
diff -r 2a42a63a2b19 -r 46b3109f2fc6 mk/defs.Interix.mk
--- a/mk/defs.Interix.mk Wed Apr 21 14:33:18 2004 +0000
+++ b/mk/defs.Interix.mk Wed Apr 21 14:53:51 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Interix.mk,v 1.11 2004/04/20 18:43:17 tv Exp $
+# $NetBSD: defs.Interix.mk,v 1.12 2004/04/21 14:53:51 tv Exp $
#
# Variable definitions for the Interix operating system.
@@ -130,7 +130,7 @@
_PATCH_CAN_BACKUP= yes # native patch(1) can make backups
_PATCH_BACKUP_ARG?= -b -V simple -z # switch to patch(1) for backup suffix
_PREFORMATTED_MAN_DIR= cat # directory where catman pages are
-_USE_GNU_GETTEXT= no # Don't use GNU gettext
+_USE_GNU_GETTEXT= yes # gettext not in base system
_USE_RPATH= yes # add rpath to LDFLAGS
# flags passed to the linker to extract all symbols from static archives.
@@ -143,13 +143,18 @@
_STRIPFLAG_INSTALL?= -s # install(1) option to strip
.endif
-DEFAULT_SERIAL_DEVICE?= /dev/null
-SERIAL_DEVICES?= /dev/null
+DEFAULT_SERIAL_DEVICE?= /dev/tty00
+SERIAL_DEVICES?= /dev/tty00 /dev/tty01 /dev/tty02 /dev/tty03
+# Interix needs -D_ALL_SOURCE everywhere; little compiles without it.
.if ${CPPFLAGS:M-D_ALL_SOURCE} == ""
CPPFLAGS+= -D_ALL_SOURCE
.endif
+# Interix gcc "PIC" is broken, but non-"PIC" is shlib linkable.
+# We need to AVOID -fpic/-fPIC options to gcc.
+BUILDLINK_TRANSFORM+= S:-fpic: S:-fPIC:
+
# check for maximum command line length and set it in configure's environment,
# to avoid a test required by the libtool script that takes forever.
.if defined(GNU_CONFIGURE) && defined(USE_LIBTOOL)
Home |
Main Index |
Thread Index |
Old Index