1
0
Fork 0
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:
Jon Trulson 2020-01-04 09:23:40 -07:00
parent da6f570381
commit 00dcd9c63d
6 changed files with 11 additions and 14 deletions

View file

@ -127,7 +127,7 @@ if test "$bsd" = "yes"
then
SOURCE_CPP_DEFINES="${SOURCE_CPP_DEFINES} -DCSRG_BASED"
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
is_x86_64=no
@ -298,9 +298,13 @@ AC_FUNC_FORK
dnl programs with full paths
dnl - KSH, some systems call it as ksh93
AC_PATH_PROG(KSH, ksh)
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
AC_PATH_PROG(XRDB, xrdb)

View file

@ -15,11 +15,7 @@ libDtWidget_la_CFLAGS += -I/usr/include/freetype2
endif
if BSD
libDtWidget_la_CFLAGS += -I$(x_includes)/freetype2
endif
if NETBSD
libDtWidget_la_CFLAGS += -I$(x_includes)
libDtWidget_la_CFLAGS += -I/usr/local/include/freetype2
endif
if SOLARIS
@ -27,10 +23,6 @@ libDtWidget_la_CFLAGS += -DNO_REGCOMP
libDtWidget_la_LIBADD = -lXm -lc -lw -lm -lintl
endif
if HPUX
libDtWidget_la_CFLAGS += -DMESSAGE_CAT
endif
libDtWidget_la_SOURCES = ComboBox.c Control.c DialogBox.c \
DtMsgs.c DtStrDefs.c EditAreaData.c \

View file

@ -14,7 +14,7 @@ if SOLARIS
ttauth_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
endif
if OPENBSD
if BSD
ttauth_LDADD += $(XTOOLLIB)
endif

View file

@ -18,7 +18,7 @@ if SOLARIS
rpc_ttdbserver_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
endif
if OPENBSD
if BSD
rpc_ttdbserver_LDADD += $(XTOOLLIB)
endif

View file

@ -16,7 +16,7 @@ if SOLARIS
ttsession_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
endif
if OPENBSD
if BSD
ttsession_LDADD += $(XTOOLLIB)
endif

View file

@ -65,6 +65,7 @@ endif
if FREEBSD
AM_CFLAGS += -DHASDES -DHASXDMAUTH
XBINDIR = /usr/local/bin
dtlogin_SOURCES += xdmauth.c
endif
if OPENBSD