pkgsrc/mbone/vic/patches/patch-ag

27 lines
639 B
Text

$NetBSD: patch-ag,v 1.4 2007/01/13 11:27:03 joerg Exp $
--- configure.in.orig 1996-06-21 06:36:47.000000000 +0000
+++ configure.in
@@ -10,7 +10,7 @@ V_SHM="-DUSE_SHM"
builtin(include, configure.in.head)
#XXX
-V_STATIC="-static"
+V_STATIC=""
AC_ARG_WITH(aix-shm, --with-aix-shm=path specify a pathname for the AIX shm X extension library file, lib=$withval, lib="")
if test "$lib" != "" ; then
@@ -226,7 +226,12 @@ sparc-sun-sunos*)
;;
*-*-netbsd*)
V_TARCMD="tar -h -c -f"
- V_LIB="$V_LIB -L/usr/local/lib"
+ V_LIB="${LDFLAGS} $V_LIB"
+ V_SHM=""
+ V_STATIC=""
+ ;;
+*-*-freebsd*)
+ V_STATIC=""
;;
*-*-hpux*)
V_CCOPT="-O"