mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
FreeBSD 12: get CDE to build and run
With this patch, CDE (autotools) builds and runs on fbsd 12 now. fbsd11 should work too, but not yet tested. You must use gmake - ie: ./configure MAKE=gmake gmake Seems all of the BSD's will need to use gmake for now.
This commit is contained in:
parent
da6f570381
commit
00dcd9c63d
6 changed files with 11 additions and 14 deletions
|
@ -127,7 +127,7 @@ if test "$bsd" = "yes"
|
||||||
then
|
then
|
||||||
SOURCE_CPP_DEFINES="${SOURCE_CPP_DEFINES} -DCSRG_BASED"
|
SOURCE_CPP_DEFINES="${SOURCE_CPP_DEFINES} -DCSRG_BASED"
|
||||||
MOTIF_LIB="-L/usr/local/lib -R/usr/local/lib"
|
MOTIF_LIB="-L/usr/local/lib -R/usr/local/lib"
|
||||||
MOTIF_INC="-I/usr/local/include -I/usr/X11R6/include/freetype2"
|
MOTIF_INC="-I/usr/local/include -I/usr/X11R6/include/freetype2 -I/usr/local/include/freetype2"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
is_x86_64=no
|
is_x86_64=no
|
||||||
|
@ -298,9 +298,13 @@ AC_FUNC_FORK
|
||||||
|
|
||||||
dnl programs with full paths
|
dnl programs with full paths
|
||||||
|
|
||||||
|
dnl - KSH, some systems call it as ksh93
|
||||||
AC_PATH_PROG(KSH, ksh)
|
AC_PATH_PROG(KSH, ksh)
|
||||||
if test -z "$ac_cv_path_KSH"; then
|
if test -z "$ac_cv_path_KSH"; then
|
||||||
MISSING_PROGS="ksh ${MISSING_PROGS}"
|
AC_PATH_PROG(KSH, ksh93)
|
||||||
|
if test -z "$ac_cv_path_KSH"; then
|
||||||
|
MISSING_PROGS="[ksh or ksh93] ${MISSING_PROGS}"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_PATH_PROG(XRDB, xrdb)
|
AC_PATH_PROG(XRDB, xrdb)
|
||||||
|
|
|
@ -15,11 +15,7 @@ libDtWidget_la_CFLAGS += -I/usr/include/freetype2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if BSD
|
if BSD
|
||||||
libDtWidget_la_CFLAGS += -I$(x_includes)/freetype2
|
libDtWidget_la_CFLAGS += -I/usr/local/include/freetype2
|
||||||
endif
|
|
||||||
|
|
||||||
if NETBSD
|
|
||||||
libDtWidget_la_CFLAGS += -I$(x_includes)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if SOLARIS
|
if SOLARIS
|
||||||
|
@ -27,10 +23,6 @@ libDtWidget_la_CFLAGS += -DNO_REGCOMP
|
||||||
libDtWidget_la_LIBADD = -lXm -lc -lw -lm -lintl
|
libDtWidget_la_LIBADD = -lXm -lc -lw -lm -lintl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if HPUX
|
|
||||||
libDtWidget_la_CFLAGS += -DMESSAGE_CAT
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
libDtWidget_la_SOURCES = ComboBox.c Control.c DialogBox.c \
|
libDtWidget_la_SOURCES = ComboBox.c Control.c DialogBox.c \
|
||||||
DtMsgs.c DtStrDefs.c EditAreaData.c \
|
DtMsgs.c DtStrDefs.c EditAreaData.c \
|
||||||
|
|
|
@ -14,7 +14,7 @@ if SOLARIS
|
||||||
ttauth_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
ttauth_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if OPENBSD
|
if BSD
|
||||||
ttauth_LDADD += $(XTOOLLIB)
|
ttauth_LDADD += $(XTOOLLIB)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ if SOLARIS
|
||||||
rpc_ttdbserver_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
rpc_ttdbserver_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if OPENBSD
|
if BSD
|
||||||
rpc_ttdbserver_LDADD += $(XTOOLLIB)
|
rpc_ttdbserver_LDADD += $(XTOOLLIB)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ if SOLARIS
|
||||||
ttsession_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
ttsession_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if OPENBSD
|
if BSD
|
||||||
ttsession_LDADD += $(XTOOLLIB)
|
ttsession_LDADD += $(XTOOLLIB)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -65,6 +65,7 @@ endif
|
||||||
if FREEBSD
|
if FREEBSD
|
||||||
AM_CFLAGS += -DHASDES -DHASXDMAUTH
|
AM_CFLAGS += -DHASDES -DHASXDMAUTH
|
||||||
XBINDIR = /usr/local/bin
|
XBINDIR = /usr/local/bin
|
||||||
|
dtlogin_SOURCES += xdmauth.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if OPENBSD
|
if OPENBSD
|
||||||
|
|
Loading…
Reference in a new issue