pkgsrc/devel/gps/patches/patch-gnatlib_aclocal.m4
marino 8063bf6f75 devel/gps: Upgrade GNAT Programming Studio to version 5.2.1
This is a significant upgrade over version 5.0.1 which is currently in
pkgsrc, representing approximately two years of work.  The latest online
documentation can be browsed here:

   http://docs.adacore.com/gps-docs/users_guide/_build/html/

Changes to the package itself include:
* python now works and is a default option
* readline support is now an option and is default
* Multiple job support enable
* Documentation now generated by sphinx

Also the problem described in PR#47824 no longer occurs, so this PR will
be closed.
2013-07-09 10:16:02 +00:00

39 lines
1.3 KiB
Text

$NetBSD: patch-gnatlib_aclocal.m4,v 1.1 2013/07/09 10:16:02 marino Exp $
Remove BASHisms and support all BSDs
--- gnatlib/aclocal.m4.orig 2012-09-13 12:50:01.000000000 +0000
+++ gnatlib/aclocal.m4
@@ -564,7 +564,7 @@ AC_HELP_STRING(
;;
esac
- if test x$PYTHON_WIN32 == xyes; then
+ if test x$PYTHON_WIN32 = xyes; then
PYTHON_VERSION=$PYTHON_MAJOR_VERSION$PYTHON_MINOR_VERSION
PYTHON_DIR=${PYTHON_BASE}/libs
else
@@ -643,12 +643,12 @@ AC_HELP_STRING(
ia64-*hp-hpux11* )
PYTHON_LIBS="-ldld -ldl -lm -Wl,-E ${PYTHON_LIBS}"
;;
- *-freebsd* )
+ *-dragonfly* | *-freebsd* | *-netbsd* | *-openbsd* )
PYTHON_LIBS="-lm -lutil ${PYTHON_LIBS}"
;;
esac
- if test x$PYTHON_WIN32 == xyes; then
+ if test x$PYTHON_WIN32 = xyes; then
PYTHON_CFLAGS="-I${PYTHON_BASE}/include"
else
PYTHON_CFLAGS="-I${PYTHON_BASE}/include/python${PYTHON_VERSION}"
@@ -757,7 +757,7 @@ AC_DEFUN(AM_PATH_PYGOBJECT,
module=""
done
- if test "$module" == "" ; then
+ if test "$module" = "" ; then
AC_MSG_RESULT(no)
WITH_PYGOBJECT=no
else