diff options
Diffstat (limited to 'net-analyzer/ipac-ng/files/ipac-ng-1.34-as-needed.patch')
-rw-r--r-- | net-analyzer/ipac-ng/files/ipac-ng-1.34-as-needed.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/net-analyzer/ipac-ng/files/ipac-ng-1.34-as-needed.patch b/net-analyzer/ipac-ng/files/ipac-ng-1.34-as-needed.patch new file mode 100644 index 0000000..e94586c --- /dev/null +++ b/net-analyzer/ipac-ng/files/ipac-ng-1.34-as-needed.patch @@ -0,0 +1,40 @@ +=== modified file 'configure.in' +--- configure.in 2011-05-24 13:09:44 +0000 ++++ configure.in 2011-05-24 13:10:12 +0000 +@@ -102,7 +102,7 @@ + test $HAVE_LIBSQLITE = no && AC_MSG_WARN([sqlite library not found! + support for optional storage \"sqlite\" will be disabled]) + +-LIBS="$LIBS -L. -lipac" ++LIBS="-L. -lipac $LIBS" + + dnl Checks for header files if libraries found + HAVE_POSTGRE=no +@@ -251,7 +251,7 @@ + + storagemethod_makefiles="$storagemethod_makefiles storage/$sm/Makefile" + STORAGEMETHODLIBRARYS="$STORAGEMETHODLIBRARYS storage/$sm/libstor$sm.a" +- LIBS="$LIBS -Lstorage/$sm -lstor$sm" ++ LIBS="-Lstorage/$sm -lstor$sm $LIBS " + dnl check if the storage method requires any libraries. + test -n "$ADDLIBS" && LIBS="$LIBS $ADDLIBS" + done +@@ -309,7 +309,7 @@ + fi + billagent_makefiles="$billagent_makefiles access/$ag/Makefile" + BILLAGENTSLIBRARYS="$BILLAGENTSLIBRARYS access/$ag/libipac$ag.a" +- LIBS="$LIBS -Laccess/$ag -lipac$ag" ++ LIBS="-Laccess/$ag -lipac$ag $LIBS" + dnl check if the access agents requires any libraries. + test -n "$ADDLIBS" && LIBS="$LIBS $ADDLIBS" + done +@@ -383,7 +383,7 @@ + for ag in $ACCAGENTS; do + accagent_makefiles="$accagent_makefiles agents/$ag/Makefile" + ACCAGENTSLIBRARYS="$ACCAGENTSLIBRARYS agents/$ag/libipac$ag.a" +- LIBS="$LIBS -Lagents/$ag -lipac$ag" ++ LIBS="-Lagents/$ag -lipac$ag $LIBS" + dnl check if the accounting agents requires any libraries. + ADDLIBS=`grep 'NEEDLIBS=' agents/$ag/Makefile.in | \ + sed -e 's/^# *NEEDLIBS=//' -e 's/ *$//'` + |