SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
41
cad/netgen/patches/patch-scripts_configure
Normal file
41
cad/netgen/patches/patch-scripts_configure
Normal file
|
@ -0,0 +1,41 @@
|
|||
Index: scripts/configure
|
||||
--- scripts/configure.orig
|
||||
+++ scripts/configure
|
||||
@@ -6437,7 +6437,7 @@ fi
|
||||
CFLAGS="${CFLAGS} -L/usr/X11R6/include"
|
||||
;;
|
||||
|
||||
- *-netbsd*|*-openbsd*)
|
||||
+ *-netbsd*)
|
||||
# Not available on all versions: check for include file.
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
|
||||
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
|
||||
@@ -6453,6 +6453,11 @@ fi
|
||||
fi
|
||||
;;
|
||||
|
||||
+ *-openbsd*)
|
||||
+ SHLIB_CFLAGS="-fPIC"
|
||||
+ LDDL_FLAGS="-shared ${LIB_SPEC}"
|
||||
+ ;;
|
||||
+
|
||||
*-nextstep*)
|
||||
LDDL_FLAGS="-nostdlib -r"
|
||||
;;
|
||||
@@ -7813,16 +7818,5 @@ else
|
||||
echo " on your system."
|
||||
echo
|
||||
fi
|
||||
-
|
||||
-echo "-----------------------------------------------------------"
|
||||
-echo
|
||||
-
|
||||
-echo "Use 'make' to compile and 'make install' to install."
|
||||
-echo
|
||||
-echo "Errors may not be printed to stdout: see files 'make.log' "
|
||||
-echo " and 'install.log' for a complete error summary."
|
||||
-echo
|
||||
-echo "-----------------------------------------------------------"
|
||||
-echo
|
||||
|
||||
cp defs.mak ..
|
Loading…
Add table
Add a link
Reference in a new issue