mirror of
				git://git.code.sf.net/p/cdesktopenv/code
				synced 2025-03-09 15:50:02 +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
 | 
			
		||||
        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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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 \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,7 +14,7 @@ if SOLARIS
 | 
			
		|||
ttauth_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
if OPENBSD
 | 
			
		||||
if BSD
 | 
			
		||||
ttauth_LDADD += $(XTOOLLIB)
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -18,7 +18,7 @@ if SOLARIS
 | 
			
		|||
rpc_ttdbserver_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
if OPENBSD
 | 
			
		||||
if BSD
 | 
			
		||||
rpc_ttdbserver_LDADD += $(XTOOLLIB)
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,7 +16,7 @@ if SOLARIS
 | 
			
		|||
ttsession_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
if OPENBSD
 | 
			
		||||
if BSD
 | 
			
		||||
ttsession_LDADD += $(XTOOLLIB)
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -65,6 +65,7 @@ endif
 | 
			
		|||
if FREEBSD
 | 
			
		||||
AM_CFLAGS += -DHASDES -DHASXDMAUTH
 | 
			
		||||
XBINDIR = /usr/local/bin
 | 
			
		||||
dtlogin_SOURCES += xdmauth.c
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
if OPENBSD
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue