c6a275c4ae
PR: ports/144138 Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
102 lines
2.6 KiB
Cheetah
102 lines
2.6 KiB
Cheetah
--- config/XView.tmpl.orig 2010-04-07 10:28:25.000000000 +0900
|
|
+++ config/XView.tmpl 2010-04-07 10:35:36.000000000 +0900
|
|
@@ -96,11 +96,13 @@
|
|
* Work around small conflict with Project.tmpl file
|
|
*/
|
|
#if UseInstalled
|
|
- MKDIRHIER = BourneShell BinDir/mkdirhier
|
|
+ MKDIRHIER = mkdirhier
|
|
#endif
|
|
|
|
#if OsHasLocale
|
|
- LOCALE_DEFINES = -DOS_HAS_LOCALE
|
|
+ LOCALE_DEFINES = -DOS_HAS_LOCALE -DCOMPAT_43TTY
|
|
+#else
|
|
+ LOCALE_DEFINES = -DCOMPAT_43TTY
|
|
#endif
|
|
|
|
#if OsHasMmap
|
|
@@ -192,14 +194,6 @@
|
|
AS = as
|
|
*/
|
|
/*
|
|
- * use the same trick X11R5 does for defining rules for installed libs
|
|
- */
|
|
-#ifdef UseInstalled
|
|
-#define _Use(a,b) a
|
|
-#else
|
|
-#define _Use(a,b) b
|
|
-#endif
|
|
-/*
|
|
* Temporary directory used during build process before the include
|
|
* files are installed. This is just a place where symbolic links are
|
|
* placed to point back to the actual files in the build hierarchy to
|
|
@@ -224,7 +218,7 @@
|
|
* afterwards.
|
|
*/
|
|
#ifndef XVIncludeDirName
|
|
-#define XVIncludeDirName /include
|
|
+#define XVIncludeDirName include
|
|
#endif
|
|
INCDIR = XVIncludeDirName
|
|
/*
|
|
@@ -356,10 +350,10 @@
|
|
|
|
#if SystemV4
|
|
SYSV_CLIENT_LIB = -lintl -ldl
|
|
- XVCLIENTSYSDEFINES = -DSVR4 -DSYSV
|
|
+ XVCLIENTSYSDEFINES = -DSVR4 -DSYSV
|
|
#else
|
|
SYSV_CLIENT_LIB =
|
|
- XVCLIENTSYSDEFINES = -DSUNOS41
|
|
+ XVCLIENTSYSDEFINES = -DSUNOS41
|
|
#endif
|
|
|
|
/*
|
|
@@ -371,16 +365,16 @@
|
|
*/
|
|
|
|
#if XvI18nLevel == 4
|
|
- XVCLIENTI18NDEFINES = -DOW_I18N_L4 -DOW_I18N_L3 -DOW_I18N -DFULL_R5
|
|
- XVCLIENTMISCLIB = -lw
|
|
- XVCLIENTINCLUDES = -I$(OPENWINHOME)/include
|
|
+ XVCLIENTI18NDEFINES = -DOW_I18N_L4 -DOW_I18N_L3 -DOW_I18N -DFULL_R5
|
|
+ XVCLIENTMISCLIB = -lw
|
|
+ XVCLIENTINCLUDES = -I$(OPENWINHOME)/include
|
|
#else
|
|
- XVCLIENTI18NDEFINES = -DOW_I18N_L3
|
|
- XVCLIENTMISCLIB =
|
|
- XVCLIENTINCLUDES =
|
|
+ XVCLIENTI18NDEFINES = -DOW_I18N_L3
|
|
+ XVCLIENTMISCLIB =
|
|
+ XVCLIENTINCLUDES =
|
|
#endif
|
|
|
|
- XVCLIENTDEFINES = $(XVCLIENTSYSDEFINES) $(XVCLIENTI18NDEFINES)
|
|
+ XVCLIENTDEFINES = $(XVCLIENTSYSDEFINES) $(XVCLIENTI18NDEFINES)
|
|
|
|
/*
|
|
* Define libraries for XView clients
|
|
@@ -410,7 +404,7 @@
|
|
*/
|
|
#if SharedLibXView
|
|
# ifndef SharedXViewRev
|
|
-#if SystemV4
|
|
+#if SystemV4 || UseElfFormat
|
|
# define SharedXViewRev 3
|
|
#else
|
|
# define SharedXViewRev 3.2
|
|
@@ -449,12 +443,8 @@
|
|
* Include the XView specific makefile macros.
|
|
*/
|
|
|
|
-/* This is just needed here because X11 is installed with gcc as
|
|
- a default compiler.
|
|
- lumpi@dobag.in-berlin.de
|
|
-
|
|
#undef CcCmd
|
|
#define CcCmd cc
|
|
-#define LibraryCcCmd cc */
|
|
+#define LibraryCcCmd cc
|
|
#include <XView.rules>
|
|
#endif
|