[csw-devel] SF.net SVN: gar:[3044] csw/mgar/pkg/libassuan/trunk

valholla at users.sourceforge.net valholla at users.sourceforge.net
Tue Feb 10 03:40:14 CET 2009


Revision: 3044
          http://gar.svn.sourceforge.net/gar/?rev=3044&view=rev
Author:   valholla
Date:     2009-02-10 02:40:14 +0000 (Tue, 10 Feb 2009)

Log Message:
-----------
working recipe for libassuan with 64bit and gnu pth

Modified Paths:
--------------
    csw/mgar/pkg/libassuan/trunk/Makefile
    csw/mgar/pkg/libassuan/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/libassuan/trunk/files/patch-pth_config_dir.diff

Modified: csw/mgar/pkg/libassuan/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libassuan/trunk/Makefile	2009-02-10 01:24:19 UTC (rev 3043)
+++ csw/mgar/pkg/libassuan/trunk/Makefile	2009-02-10 02:40:14 UTC (rev 3044)
@@ -13,7 +13,7 @@
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = -(\d+(?:\.\d+)*).tar.bz2
 
-REQUIRED_PKGS = CSWpth
+PREREQUISITE_PKGS = CSWpth
 
 BUILD64 = 1
 NO_ISAEXEC = 1
@@ -21,7 +21,6 @@
 EXTRA_LDFLAGS = -lrt -lsocket -lnsl
 
 CONFIGURE_ARGS = $(DIRPATHS)
-CONFIGURE_ARGS += --with-pth-prefix=/opt/csw
 
 # We must include static libs here as libassuan contains *only*
 # static libs

Modified: csw/mgar/pkg/libassuan/trunk/checksums
===================================================================
--- csw/mgar/pkg/libassuan/trunk/checksums	2009-02-10 01:24:19 UTC (rev 3043)
+++ csw/mgar/pkg/libassuan/trunk/checksums	2009-02-10 02:40:14 UTC (rev 3044)
@@ -1,2 +1,3 @@
 c2db0974fcce4401f48f3fa41c4edc5a  download/libassuan-1.0.5.tar.bz2
 c424181532045b5760d087e58cc1c935  download/CSWlibassuan.gspec
+e5f74688c543ec7d4a4e94a55699d0e1  download/patch-pth_config_dir.diff

Added: csw/mgar/pkg/libassuan/trunk/files/patch-pth_config_dir.diff
===================================================================
--- csw/mgar/pkg/libassuan/trunk/files/patch-pth_config_dir.diff	                        (rev 0)
+++ csw/mgar/pkg/libassuan/trunk/files/patch-pth_config_dir.diff	2009-02-10 02:40:14 UTC (rev 3044)
@@ -0,0 +1,30 @@
+diff -Nru libassuan-1.0.5.orig/configure libassuan-1.0.5/configure
+--- libassuan-1.0.5.orig/configure	2008-05-25 03:00:36.000000000 -0500
++++ libassuan-1.0.5/configure	2009-02-04 13:25:18.940318965 -0600
+@@ -1320,6 +1320,7 @@
+   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
+   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
+   --with-pth-prefix=PFX   prefix where GNU Pth is installed (optional)
++  --with-pth-config-dir=DIR  Directory containing pth-config (optionl)
+ 
+ Some influential environment variables:
+   CC          C compiler command
+@@ -4264,6 +4265,18 @@
+   if test x$pth_config_prefix != x ; then
+      PTH_CONFIG="$pth_config_prefix/bin/pth-config"
+   fi
++
++  ## Check for --with-pth-prefix and override
++  ## --with-pth-prefix PTH_CONFIG to
++  ## --with-pth-config-dir PTH_CONFIG
++  if test "${with_pth_config_dir+set}" = set; then
++      withval=$with_pth_config_dir
++      PTH_CONFIG="${withval}/pth-config"
++    if test ! -x ${PTH_CONFIG}; then
++        PTH_CONFIG=""
++    fi
++  fi
++
+   # Extract the first word of "pth-config", so it can be a program name with args.
+ set dummy pth-config; ac_word=$2
+ { echo "$as_me:$LINENO: checking for $ac_word" >&5


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list