public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-biology/embassy-iprscan/files/, sci-biology/embassy-iprscan/
@ 2011-03-10 19:00 Justin Lecher
  0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher @ 2011-03-10 19:00 UTC (permalink / raw
  To: gentoo-commits

commit:     cb221999c3166ade8fe838c29d7e57ef6156feb8
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 10 12:49:51 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Mar 10 12:49:51 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=cb221999

Move to new embassy-ng.eclass

(Portage version: 2.2.0_alpha26/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 70EB7916)

---
 sci-biology/embassy-iprscan/ChangeLog              |   34 +++++++
 .../embassy-iprscan-4.3.1-r2.ebuild                |   10 ++
 .../files/embassy-iprscan-4.3.1-r2.patch           |  103 ++++++++++++++++++++
 sci-biology/embassy-iprscan/metadata.xml           |    5 +
 4 files changed, 152 insertions(+), 0 deletions(-)

diff --git a/sci-biology/embassy-iprscan/ChangeLog b/sci-biology/embassy-iprscan/ChangeLog
new file mode 100644
index 0000000..5356e37
--- /dev/null
+++ b/sci-biology/embassy-iprscan/ChangeLog
@@ -0,0 +1,34 @@
+# ChangeLog for sci-biology/embassy-iprscan
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/embassy-iprscan/ChangeLog,v 1.5 2010/01/15 22:45:28 fauli Exp $
+
+*embassy-iprscan-4.3.1-r2 (10 Mar 2011)
+
+  10 Mar 2011; Justin Lecher <jlec@gentoo.org>
+  +embassy-iprscan-4.3.1-r2.ebuild, +files/embassy-iprscan-4.3.1-r2.patch,
+  +metadata.xml:
+  Move to new embassy-ng.eclass
+
+  15 Jan 2010; Christian Faulhammer <fauli@gentoo.org>
+  embassy-iprscan-4.3.1-r1.ebuild:
+  Transfer Prefix keywords
+
+  01 Sep 2009; Olivier Fisette <ribosome@gentoo.org> metadata.xml:
+  Giving up maintainership of this package.
+
+*embassy-iprscan-4.3.1-r1 (01 Sep 2009)
+
+  01 Sep 2009; Olivier Fisette <ribosome@gentoo.org>
+  +embassy-iprscan-4.3.1-r1.ebuild:
+  Updated version for EMBASSY 6.1.0.
+
+  01 Sep 2009; Olivier Fisette <ribosome@gentoo.org>
+  embassy-iprscan-4.3.1.ebuild:
+  Stabilised on amd64 and x86.
+
+*embassy-iprscan-4.3.1 (27 Aug 2008)
+
+  27 Aug 2008; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+  +embassy-iprscan-4.3.1.ebuild:
+  Initial import for EMBASSY 6.0.1.
+

diff --git a/sci-biology/embassy-iprscan/embassy-iprscan-4.3.1-r2.ebuild b/sci-biology/embassy-iprscan/embassy-iprscan-4.3.1-r2.ebuild
new file mode 100644
index 0000000..71e0a75
--- /dev/null
+++ b/sci-biology/embassy-iprscan/embassy-iprscan-4.3.1-r2.ebuild
@@ -0,0 +1,10 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/embassy-iprscan/embassy-iprscan-4.3.1-r1.ebuild,v 1.2 2010/01/15 22:45:28 fauli Exp $
+
+EBOV="6.3.1"
+EBO_DESCRIPTION="InterProScan motif detection add-on package"
+
+inherit embassy-ng
+
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"

diff --git a/sci-biology/embassy-iprscan/files/embassy-iprscan-4.3.1-r2.patch b/sci-biology/embassy-iprscan/files/embassy-iprscan-4.3.1-r2.patch
new file mode 100644
index 0000000..0e2b04f
--- /dev/null
+++ b/sci-biology/embassy-iprscan/files/embassy-iprscan-4.3.1-r2.patch
@@ -0,0 +1,103 @@
+diff --git a/Makefile.am b/Makefile.am
+index 12686b3..d547b12 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,8 +1,9 @@
+ #
+ 
++ACLOCAL_AMFLAGS = -I m4
+ SUBDIRS = src emboss_acd emboss_doc
+ 
+-EXTRA_DIST = copyright depcomp ltmain.sh install-sh config.sub config.guess
++EXTRA_DIST = depcomp ltmain.sh install-sh config.sub config.guess
+ 
+ dist-hook:
+ 	tar cBf - emboss_acd | ( cd $(distdir); tar xBf - ; cd emboss_acd; rm -rf CVS)
+diff --git a/configure.in b/configure.in
+index 3c69e1b..b936c25 100644
+--- a/configure.in
++++ b/configure.in
+@@ -187,15 +187,6 @@ AC_PROG_INSTALL
+ AC_PROG_LN_S
+ AC_PROG_MAKE_SET
+ 
+-dnl Intel MacOSX 10.6 puts X11 in a non-standard place
+-if test "${with_x}" != "no" ; then
+-if test "`uname -a | grep Darwin`"; then
+-OSXX=`sw_vers -productVersion | sed 's/\(10\.[[0-9]]*\).*/\1/'`
+-if test ${OSXX} '>' '10.4'; then
+-CFLAGS="$CFLAGS -I/usr/X11/include -L/usr/X11/lib"
+-fi
+-fi
+-fi
+ 
+ dnl Check for header files
+ AC_PATH_XTRA
+@@ -250,8 +241,8 @@ AX_LIB_POSTGRESQL
+ CFLAGS="$CFLAGS $MYSQL_CFLAGS"
+ LDFLAGS="$LDFLAGS $MYSQL_LDFLAGS"
+ 
+-CFLAGS="$CFLAGS $POSTGRESQL_CFLAGS"
+-LDFLAGS="$LDFLAGS $POSTGRESQL_LDFLAGS"
++CFLAGS="$POSTGRESQL_CFLAGS $CFLAGS"
++LDFLAGS="$POSTGRESQL_LDFLAGS $LDFLAGS"
+ 
+ 
+ dnl "Export" these variables for PCRE
+@@ -388,9 +379,30 @@ AC_ARG_ENABLE(systemlibs,
+    AS_HELP_STRING([--enable-systemlibs], [Use system versions of zlib/expat]))
+ if test "${enable_systemlibs}" = "yes" ; then
+     have_systemlibs=yes
++    DEFINE_USE_SYSTEM_PCRE="#define"
++    PKG_CHECK_MODULES([PLPLOT], [plplotd])
++    PKG_CHECK_MODULES([ZLIB], [zlib])
++else
++    dnl X11 is only used by plplot
++    dnl Intel MacOSX 10.6 puts X11 in a non-standard place
++    if test "${with_x}" != "no" ; then
++    if test "`uname -a | grep Darwin`"; then
++    OSXX=`sw_vers -productVersion | sed 's/\(10\.[[0-9]]*\).*/\1/'`
++    if test ${OSXX} '>' '10.4'; then
++    CFLAGS="$CFLAGS -I/usr/X11/include -L/usr/X11/lib"
++    fi
++    fi
++    fi
++    if test "${with_x}" != "no" ; then
++    LF_EMBOSS_PATH_XLIB
++    fi
++     AC_MSG_NOTICE(USING bundled LIBS)
+ fi          
+ AM_CONDITIONAL(ESYSTEMLIBS, test "$have_systemlibs" = "yes")
+ AC_SUBST(ESYSTEMLIBS)
++AC_SUBST(DEFINE_USE_SYSTEM_PCRE)
++AC_SUBST(PLPLOT_CFLAGS)
++AC_SUBST(PLPLOT_LIBS)
+ 
+ 
+ 
+diff --git a/src/Makefile.am b/src/Makefile.am
+index e6ba236..fae5c0f 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -17,9 +17,9 @@ INCLUDES = -I../../../nucleus -I../../../ajax/pcre \
+ 	-I../../../ajax/ensembl -I../../../ajax/ajaxdb \
+ 	-I../../../ajax/acd -I../../../plplot
+ else
+-INCLUDES = -I${embprefix}/include -I${embprefix}/include/eplplot \
+-	$(NLINCLUDES) \
+-	-I${embprefix}/include/epcre
++INCLUDES = -I${embprefix}/include $(PLPLOT_CFLAGS) \
++	$(NLINCLUDES) -I${embprefix}/include/emboss \
++	-I${embprefix}/include/pcre
+ endif
+ 
+ if ISSHARED
+@@ -57,6 +57,6 @@ LDADD = ../../../nucleus/libnucleus.la ../../../ajax/acd/libacd.la \
+ 	../../../plplot/libeplplot.la \
+ 	$(XLIB)
+ else
+-LDADD = -L${embprefix}/lib -lnucleus -lacd -lajaxdb -lensembl -lajaxg \
+-        -lajax -lepcre $(NLADD) -leplplot $(XLIB)
++LDADD = -lnucleus -lacd -lajaxdb -lensembl -lajaxg \
++        -lajax -lpcre $(NLADD) $(PLPLOT_LIBS) $(XLIB)
+ endif

diff --git a/sci-biology/embassy-iprscan/metadata.xml b/sci-biology/embassy-iprscan/metadata.xml
new file mode 100644
index 0000000..d464821
--- /dev/null
+++ b/sci-biology/embassy-iprscan/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>sci-biology</herd>
+</pkgmetadata>



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-biology/embassy-iprscan/files/, sci-biology/embassy-iprscan/
@ 2011-03-20 16:28 Justin Lecher
  0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher @ 2011-03-20 16:28 UTC (permalink / raw
  To: gentoo-commits

commit:     bef2e14378ad5dbb994ba21d13b4de49f76a7dce
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 12:34:05 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 12:34:05 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=bef2e143

Fixed for reviewed eclass

(Portage version: 2.2.0_alpha28/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 70EB7916)

---
 sci-biology/embassy-iprscan/ChangeLog              |    4 +
 .../embassy-iprscan-4.3.1-r2.ebuild                |    2 +
 .../files/embassy-iprscan-4.3.1-r2.patch           |  254 +++++++++++++++++++-
 3 files changed, 256 insertions(+), 4 deletions(-)

diff --git a/sci-biology/embassy-iprscan/ChangeLog b/sci-biology/embassy-iprscan/ChangeLog
index 8ab4f2a..5a00be3 100644
--- a/sci-biology/embassy-iprscan/ChangeLog
+++ b/sci-biology/embassy-iprscan/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/sci-biology/embassy-iprscan/ChangeLog,v 1.5 2010/01/15 22:45:28 fauli Exp $
 
+  20 Mar 2011; Justin Lecher <jlec@gentoo.org> embassy-iprscan-4.3.1-r2.ebuild,
+  files/embassy-iprscan-4.3.1-r2.patch:
+  Fixed for reviewed eclass
+
   15 Mar 2011; Justin Lecher <jlec@gentoo.org> embassy-iprscan-4.3.1-r2.ebuild:
   Naming of eclass changed
 

diff --git a/sci-biology/embassy-iprscan/embassy-iprscan-4.3.1-r2.ebuild b/sci-biology/embassy-iprscan/embassy-iprscan-4.3.1-r2.ebuild
index 8cde03f..c69c125 100644
--- a/sci-biology/embassy-iprscan/embassy-iprscan-4.3.1-r2.ebuild
+++ b/sci-biology/embassy-iprscan/embassy-iprscan-4.3.1-r2.ebuild
@@ -2,6 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/sci-biology/embassy-iprscan/embassy-iprscan-4.3.1-r1.ebuild,v 1.2 2010/01/15 22:45:28 fauli Exp $
 
+EAPI="4"
+
 EBO_DESCRIPTION="InterProScan motif detection add-on package"
 
 inherit emboss

diff --git a/sci-biology/embassy-iprscan/files/embassy-iprscan-4.3.1-r2.patch b/sci-biology/embassy-iprscan/files/embassy-iprscan-4.3.1-r2.patch
index 0e2b04f..a22f062 100644
--- a/sci-biology/embassy-iprscan/files/embassy-iprscan-4.3.1-r2.patch
+++ b/sci-biology/embassy-iprscan/files/embassy-iprscan-4.3.1-r2.patch
@@ -14,7 +14,7 @@ index 12686b3..d547b12 100644
  dist-hook:
  	tar cBf - emboss_acd | ( cd $(distdir); tar xBf - ; cd emboss_acd; rm -rf CVS)
 diff --git a/configure.in b/configure.in
-index 3c69e1b..b936c25 100644
+index 3c69e1b..d78c862 100644
 --- a/configure.in
 +++ b/configure.in
 @@ -187,15 +187,6 @@ AC_PROG_INSTALL
@@ -33,14 +33,17 @@ index 3c69e1b..b936c25 100644
  
  dnl Check for header files
  AC_PATH_XTRA
-@@ -250,8 +241,8 @@ AX_LIB_POSTGRESQL
+@@ -248,10 +239,10 @@ AX_LIB_MYSQL
+ AX_LIB_POSTGRESQL
+ 
  CFLAGS="$CFLAGS $MYSQL_CFLAGS"
- LDFLAGS="$LDFLAGS $MYSQL_LDFLAGS"
+-LDFLAGS="$LDFLAGS $MYSQL_LDFLAGS"
++LIBS="${MYSQL_LIBS} ${LIBS}"
  
 -CFLAGS="$CFLAGS $POSTGRESQL_CFLAGS"
 -LDFLAGS="$LDFLAGS $POSTGRESQL_LDFLAGS"
 +CFLAGS="$POSTGRESQL_CFLAGS $CFLAGS"
-+LDFLAGS="$POSTGRESQL_LDFLAGS $LDFLAGS"
++LIBS="$POSTGRESQL_LIBS $LIBS"
  
  
  dnl "Export" these variables for PCRE
@@ -75,6 +78,249 @@ index 3c69e1b..b936c25 100644
  
  
  
+diff --git a/emboss_doc/html/Makefile.am b/emboss_doc/html/Makefile.am
+index eb337f3..ea58a27 100644
+--- a/emboss_doc/html/Makefile.am
++++ b/emboss_doc/html/Makefile.am
+@@ -1,4 +1,4 @@
+ pkgdata_DATA = index.html \
+ 	eiprscan.html
+ 
+-pkgdatadir=$(prefix)/share/EMBOSS/doc/html/embassy/iprscan
++pkgdatadir=$(docdir)/html/embassy/iprscan
+diff --git a/emboss_doc/text/Makefile.am b/emboss_doc/text/Makefile.am
+index 5af1309..8110248 100644
+--- a/emboss_doc/text/Makefile.am
++++ b/emboss_doc/text/Makefile.am
+@@ -1,3 +1,3 @@
+ pkgdata_DATA =  eiprscan.txt
+ 
+-pkgdatadir=$(prefix)/share/EMBOSS/doc/programs/text
++pkgdatadir=$(docdir)/programs/text
+diff --git a/m4/hpdf.m4 b/m4/hpdf.m4
+index a37940f..80b329c 100644
+--- a/m4/hpdf.m4
++++ b/m4/hpdf.m4
+@@ -33,8 +33,8 @@ ALT_HOME=/usr
+ #
+ # Locate hpdf
+ #
+-if test -d "${ALT_HOME}"
+-then
++#if test -d "${ALT_HOME}"
++#then
+ 
+ #
+ # Keep a copy if it fails
+@@ -45,13 +45,13 @@ then
+ #
+ # Set 
+ #
+-        LDFLAGS="${LDFLAGS} -L${ALT_HOME}/lib"
+-        CPPFLAGS="$CPPFLAGS -I$ALT_HOME/include"
++#        LDFLAGS="${LDFLAGS} -L${ALT_HOME}/lib"
++#        CPPFLAGS="$CPPFLAGS -I$ALT_HOME/include"
+ 
+ #
+ # Check for libharu in ALT_HOME
+ #
+-        AC_CHECK_LIB(hpdf, HPDF_New, CHECK=1, CHECK=0, -L${ALT_HOME}/lib)
++        AC_CHECK_LIB(hpdf, HPDF_New, CHECK=1, CHECK=0)
+ #
+ #
+ # If everything found okay then proceed to include png driver in config.
+@@ -80,10 +80,4 @@ then
+ 	  echo "No pdf support (libhpdf) found."
+ 	fi
+ 
+-else
+-        if test $withval != "no"; then
+-		echo "Directory $ALT_HOME does not exist"
+-		exit 0
+-        fi
+-fi
+ ])
+diff --git a/m4/mysql.m4 b/m4/mysql.m4
+index 12f8fe9..5cd8b90 100644
+--- a/m4/mysql.m4
++++ b/m4/mysql.m4
+@@ -26,7 +26,7 @@
+ #   This macro calls:
+ #
+ #     AC_SUBST(MYSQL_CFLAGS)
+-#     AC_SUBST(MYSQL_LDFLAGS)
++#     AC_SUBST(MYSQL_LIBS)
+ #     AC_SUBST(MYSQL_VERSION)
+ #
+ #   And sets:
+@@ -68,7 +68,7 @@ AC_DEFUN([AX_LIB_MYSQL],
+     )
+ 
+     MYSQL_CFLAGS=""
+-    MYSQL_LDFLAGS=""
++    MYSQL_LIBS=""
+     MYSQL_VERSION=""
+ 
+     dnl
+@@ -86,7 +86,7 @@ AC_DEFUN([AX_LIB_MYSQL],
+ 
+ dnl         MYSQL_CFLAGS="`$MYSQL_CONFIG --cflags`"
+             MYSQL_CFLAGS="`$MYSQL_CONFIG --include`"
+-            MYSQL_LDFLAGS="`$MYSQL_CONFIG --libs`"
++            MYSQL_LIBS="`$MYSQL_CONFIG --libs`"
+ 
+             MYSQL_VERSION=`$MYSQL_CONFIG --version`
+ 
+@@ -97,7 +97,7 @@ dnl not be installed
+     	    EMBCFLAGS=$CFLAGS
+ 	    EMBLDFLAGS=$LDFLAGS
+ 	    CFLAGS="$MYSQL_CFLAGS $EMBCFLAGS"
+-	    LDFLAGS="$MYSQL_LDFLAGS $EMBLDFLAGS"
++        LIBS="${MYSQL_LIBS} ${LIBS}"
+ 
+             AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>
+                                               #include "mysql.h"]],
+@@ -115,7 +115,7 @@ dnl not be installed
+                 AC_MSG_RESULT([yes])
+             else
+ 	        MYSQL_CFLAGS=""
+-	        MYSQL_LDFLAGS=""
++	        MYSQL_LIBS=""
+                 found_mysql="no"
+                 AC_MSG_RESULT([no])
+             fi
+@@ -172,5 +172,5 @@ dnl not be installed
+ 
+     AC_SUBST([MYSQL_VERSION])
+     AC_SUBST([MYSQL_CFLAGS])
+-    AC_SUBST([MYSQL_LDFLAGS])
++    AC_SUBST([MYSQL_LIBS])
+ ])
+diff --git a/m4/pngdriver.m4 b/m4/pngdriver.m4
+index 5934321..de970ae 100644
+--- a/m4/pngdriver.m4
++++ b/m4/pngdriver.m4
+@@ -44,8 +44,8 @@ ALT_HOME=/usr
+ #
+ # Locate png/gd/zlib, if wanted
+ #
+-if test -d "${ALT_HOME}"
+-then
++#if test -d "${ALT_HOME}"
++#then
+ 
+ #
+ # Keep a copy if it fails
+@@ -69,20 +69,26 @@ then
+           fi
+ 
+ 
++PKG_CHECK_MODULES([PNG], [libpng])
++PKG_CHECK_MODULES([ZLIB], [zlib])
++AC_CHECK_PROG(GD_LIBS, [gdlib-config])
++GD_LIBS="`gdlib-config --libs` -lgd"
++GD_CFLAGS="`gdlib-config --cflags`"
++
+ 
+ 
+ 
+ #
+ # Check for zlib in ALT_HOME
+ #
+-        AC_CHECK_LIB(z, inflateEnd, CHECK=1, CHECK=0, -L${ALT_HOME}/lib -lz)
++        AC_CHECK_LIB(z, inflateEnd, CHECK=1, CHECK=0, ${ZLIB_LIBS})
+ #
+ 
+ #
+ # Check for png
+ #
+ 	if test $CHECK = "1" ; then
+-	  AC_CHECK_LIB(png, png_destroy_read_struct, CHECK=1, CHECK=0 , -L${ALT_HOME}/lib -lz)
++	  AC_CHECK_LIB(png, png_destroy_read_struct, CHECK=1, CHECK=0 , ${ZLIB_LIBS})
+ 	fi
+ 	
+ 
+@@ -92,7 +98,7 @@ then
+ # Check for gd
+ #
+ 	if test $CHECK = "1"; then
+-	  AC_CHECK_LIB(gd, gdImageCreateFromPng, CHECK=1, CHECK=0 , -L${ALT_HOME}/lib -lgd -lpng -lz -lm)
++	  AC_CHECK_LIB(gd, gdImageCreateFromPng, CHECK=1, CHECK=0 , ${PNG_LIBS} ${ZLIB_LIBS} ${GD_LIBS})
+           if test $CHECK = "0"; then
+ 		echo need to upgrade gd for png driver for plplot
+ 	  fi
+@@ -101,7 +107,7 @@ then
+ # If everything found okay then proceed to include png driver in config.
+ #
+ 	if test $CHECK = "1" ; then
+-	  LIBS="$LIBS -lgd -lpng -lz -lm"
++	  LIBS="$LIBS ${PNG_LIBS} ${ZLIB_LIBS} ${GD_LIBS}"
+ 
+ 	  if test $ICCHECK = "1" ; then
+ 		  LIBS="$LIBS -liconv"
+@@ -114,10 +120,11 @@ then
+ 	  AC_DEFINE(PLD_png)
+ 	  AM_CONDITIONAL(AMPNG, true)
+ 	  echo PNG libraries found
+-	    if test $ALT_HOME = "/usr" ; then
++#	    if test $ALT_HOME = "/usr" ; then
+ 		  LDFLAGS="$ALT_LDFLAGS"
+ 		  CPPFLAGS="$ALT_CPPFLAGS"
+-	    fi
++        CFLAGS="${CFLAGS} ${PNG_CFLAGS} ${ZLIB_CFLAGS} ${GD_CFLAGS}"
++#	    fi
+ 	else
+ #
+ # If not okay then reset FLAGS.
+@@ -134,10 +141,4 @@ then
+ #       echo CPPFLAGS = $CPPFLAGS
+ 
+ 
+-else
+-        if test $withval != "no"; then
+-		echo "Directory $ALT_HOME does not exist"
+-		exit 0
+-        fi
+-fi
+ ])
+diff --git a/m4/postgresql.m4 b/m4/postgresql.m4
+index e6a804d..ef4d49c 100644
+--- a/m4/postgresql.m4
++++ b/m4/postgresql.m4
+@@ -26,7 +26,7 @@
+ #   This macro calls:
+ #
+ #     AC_SUBST(POSTGRESQL_CFLAGS)
+-#     AC_SUBST(POSTGRESQL_LDFLAGS)
++#     AC_SUBST(POSTGRESQL_LIBS)
+ #     AC_SUBST(POSTGRESQL_VERSION)
+ #
+ #   And sets:
+@@ -65,7 +65,7 @@ AC_DEFUN([AX_LIB_POSTGRESQL],
+     )
+ 
+     POSTGRESQL_CFLAGS=""
+-    POSTGRESQL_LDFLAGS=""
++    POSTGRESQL_LIBS=""
+     POSTGRESQL_POSTGRESQL=""
+ 
+     dnl
+@@ -82,7 +82,7 @@ AC_DEFUN([AX_LIB_POSTGRESQL],
+             AC_MSG_CHECKING([for PostgreSQL libraries])
+ 
+             POSTGRESQL_CFLAGS="-I`$PG_CONFIG --includedir`"
+-            POSTGRESQL_LDFLAGS="-L`$PG_CONFIG --libdir` -lpq"
++            POSTGRESQL_LIBS="-L`$PG_CONFIG --libdir` `$PG_CONFIG --libs`"
+ 
+             POSTGRESQL_VERSION=`$PG_CONFIG --version | sed -e 's#PostgreSQL ##'`
+ 
+@@ -144,5 +144,5 @@ AC_DEFUN([AX_LIB_POSTGRESQL],
+ 
+     AC_SUBST([POSTGRESQL_VERSION])
+     AC_SUBST([POSTGRESQL_CFLAGS])
+-    AC_SUBST([POSTGRESQL_LDFLAGS])
++    AC_SUBST([POSTGRESQL_LIBS])
+ ])
 diff --git a/src/Makefile.am b/src/Makefile.am
 index e6ba236..fae5c0f 100644
 --- a/src/Makefile.am



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-20 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-10 19:00 [gentoo-commits] proj/sci:master commit in: sci-biology/embassy-iprscan/files/, sci-biology/embassy-iprscan/ Justin Lecher
  -- strict thread matches above, loose matches on Subject: below --
2011-03-20 16:28 Justin Lecher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox