1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/math/xmgr/files/patch-aa
Justin M. Seger 025541a16d Make this build under ELF.
PR:		ports/9025
Submitted by:	root@cache-t.hrz.uni-bielefeld.de
1998-12-12 22:27:21 +00:00

88 lines
2.4 KiB
Plaintext

*** configure.orig Mon Dec 1 02:09:24 1997
--- configure Mon Dec 7 19:55:33 1998
***************
*** 626,631 ****
--- 626,632 ----
case "${host}" in
i?86-*-linux-*) CONF_FILE="ix86-linux";;
+ i?86-*-freebsd*) CONF_FILE="freebsd";;
*-*-linux-*) CONF_FILE="linux";;
i?86-*-sco-*) CONF_FILE="ix86-sco";;
alpha-dec-osf4.*) CONF_FILE="alpha-osf4";;
***************
*** 4489,4495 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
! LIBS="-lXm $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS -lXt -lXext -lX11 $LIBS"
cat > conftest.$ac_ext <<EOF
#line 4495 "configure"
#include "confdefs.h"
--- 4490,4496 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
! LIBS="__MOTIFLIB__ $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS -lXt -lXext -lX11 $LIBS"
cat > conftest.$ac_ext <<EOF
#line 4495 "configure"
#include "confdefs.h"
***************
*** 4524,4530 ****
EOF
ACEGR=xmgr
! GUI_LIBS="-lXm $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS -lXt -lXext -lX11"
LIBS="$GUI_LIBS $LIBS"
CFLAGS="$CFLAGS $X_CFLAGS"
echo $ac_n "checking for main in -lXpm""... $ac_c" 1>&6
--- 4525,4531 ----
EOF
ACEGR=xmgr
! GUI_LIBS="__MOTIFLIB__ $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS -lXt -lXext -lX11"
LIBS="$GUI_LIBS $LIBS"
CFLAGS="$CFLAGS $X_CFLAGS"
echo $ac_n "checking for main in -lXpm""... $ac_c" 1>&6
***************
*** 4857,4863 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
! LIBS="-ldf $LIBS"
cat > conftest.$ac_ext <<EOF
#line 4863 "configure"
#include "confdefs.h"
--- 4858,4864 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
! LIBS="-lmfhdf -ldf -lz $LIBS"
cat > conftest.$ac_ext <<EOF
#line 4863 "configure"
#include "confdefs.h"
***************
*** 4881,4887 ****
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
! NETCDF_LIBS="$NETCDF_LIBS -ldf"; cat >> confdefs.h <<\EOF
#define HAVE_MFHDF 1
EOF
--- 4882,4888 ----
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
! NETCDF_LIBS="$NETCDF_LIBS -lmfhdf -ldf -lz"; cat >> confdefs.h <<\EOF
#define HAVE_MFHDF 1
EOF
***************
*** 5405,5408 ****
chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
-
--- 5406,5408 ----