SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
math/graphviz/patches/patch-configure_ac
Normal file
21
math/graphviz/patches/patch-configure_ac
Normal file
|
@ -0,0 +1,21 @@
|
|||
Index: configure.ac
|
||||
--- configure.ac.orig
|
||||
+++ configure.ac
|
||||
@@ -77,7 +77,7 @@ case "${host_os}" in
|
||||
GVPLUGIN_VERSION=`expr $GVPLUGIN_CURRENT + 1`
|
||||
;;
|
||||
* )
|
||||
- GVPLUGIN_VERSION=$GVPLUGIN_CURRENT
|
||||
+ GVPLUGIN_VERSION=$GVPLUGIN_CURRENT.0
|
||||
;;
|
||||
esac
|
||||
AC_DEFINE_UNQUOTED(GVPLUGIN_VERSION,$GVPLUGIN_VERSION,[Compatibility version number for plugins.])
|
||||
@@ -642,7 +642,7 @@ else
|
||||
if test "x$GUILE_CONFIG" = "x"; then
|
||||
use_guile="No (guile not available)"
|
||||
else
|
||||
- [GUILE_VERSION=`$GUILE_CONFIG --version 2>&1 | sed -n '1 s/^.* \+\([0-9\.]\+\)$/\1/ p'`]
|
||||
+ [GUILE_VERSION=`$GUILE_CONFIG --version 2>&1 | sed -En '1 s/^.* +([0-9\.]+)$/\1/ p'`]
|
||||
GUILE_VERSION_MAJOR=`echo $GUILE_VERSION | cut -d '.' -f 1`
|
||||
GUILE_VERSION_MINOR=`echo $GUILE_VERSION | cut -d '.' -f 2`
|
||||
AC_CHECK_PROGS(GUILE,guile$GUILE_VERSION_MAJOR.$GUILE_VERSION_MINOR guile$GUILE_VERSION_MAJOR guile)
|
Loading…
Add table
Add a link
Reference in a new issue