openbsd-ports/textproc/mxml/patches/patch-configure
jakemsr 9d7cd3a5ab import mxml-1.2.2
Mini-XML is a small XML parsing library that you can use to read XML and
XML-like data files in your application without requiring large
non-standard libraries.

okay steven@
2007-10-01 18:40:11 +00:00

37 lines
919 B
Plaintext

$OpenBSD: patch-configure,v 1.1.1.1 2007/10/01 18:40:11 jakemsr Exp $
--- configure.orig Thu May 19 07:56:05 2005
+++ configure Sat Sep 29 18:23:35 2007
@@ -1247,7 +1247,7 @@ CFLAGS="${CFLAGS:=}"
CXXFLAGS="${CXXFLAGS:=}"
LDFLAGS="${LDFLAGS:=}"
-OPTIM="-O"
+# OPTIM="-O"
@@ -1265,7 +1265,7 @@ if test "${enable_debug+set}" = set; then
if eval "test x$enable_debug = xyes"; then
OPTIM="-g"
else
- LDFLAGS="$LDFLAGS -s"
+ LDFLAGS="$LDFLAGS"
fi
fi;
@@ -3189,10 +3189,10 @@ echo "${ECHO_T}yes" >&6
*BSD*)
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- LIBMXML="libmxml.so.1.0"
- DSO="\$(CC)"
- DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1,-R\$(libdir) -shared \$(OPTIM)"
- LDFLAGS="$LDFLAGS -Wl,-R\$(libdir)"
+ LIBMXML="libmxml.so.${LIBmxml_VERSION}"
+ DSO="\$(CC)"
+ DSOFLAGS="$DSOFLAGS -shared"
+ LDFLAGS="$LDFLAGS"
;;
Darwin*)