openbsd-ports/x11/fltk/patches/patch-configure_in
bcallah f09266b1d9 Update x11/fltk to 1.3.2
Take MAINTAINER.
ok sthen@
2013-03-22 22:50:25 +00:00

31 lines
926 B
Plaintext

$OpenBSD: patch-configure_in,v 1.14 2013/03/22 22:50:25 bcallah Exp $
--- configure.in.orig Fri Mar 22 17:39:21 2013
+++ configure.in Fri Mar 22 17:41:32 2013
@@ -39,7 +39,7 @@ dnl FLTK library versions...
FL_MAJOR_VERSION=1
FL_MINOR_VERSION=3
FL_PATCH_VERSION=1
-FL_API_VERSION=${FL_MAJOR_VERSION}.${FL_MINOR_VERSION}
+FL_API_VERSION=${LIBfltk_VERSION}
AC_SUBST(FL_MAJOR_VERSION)
AC_SUBST(FL_MINOR_VERSION)
@@ -914,7 +914,7 @@ case $uname_GUI in
AC_MSG_WARN(Ignoring libraries \"$X_PRE_LIBS\" requested by configure.)
fi
- LIBS="$LIBS -lX11 $X_EXTRA_LIBS"
+ LIBS="$LIBS -lX11 -lXdmcp -lXau $X_EXTRA_LIBS"
CFLAGS="$CFLAGS $X_CFLAGS"
CXXFLAGS="$CXXFLAGS $X_CFLAGS"
LDFLAGS="$X_LIBS $LDFLAGS"
@@ -1138,7 +1138,7 @@ if test -n "$GCC"; then
if test "x$with_optim" != x; then
OPTIM="$with_optim $OPTIM"
else
- OPTIM="-Os $OPTIM"
+ : # OPTIM="-Os $OPTIM"
fi
fi