[csw-devel] SF.net SVN: gar:[7553] csw/mgar/pkg/pinentry/trunk/Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Fri Dec 4 18:30:14 CET 2009


Revision: 7553
          http://gar.svn.sourceforge.net/gar/?rev=7553&view=rev
Author:   wahwah
Date:     2009-12-04 17:30:14 +0000 (Fri, 04 Dec 2009)

Log Message:
-----------
pinentry: Setting packaging platforms and the compiler. Fails on build8s.

Modified Paths:
--------------
    csw/mgar/pkg/pinentry/trunk/Makefile

Modified: csw/mgar/pkg/pinentry/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pinentry/trunk/Makefile	2009-12-04 16:57:30 UTC (rev 7552)
+++ csw/mgar/pkg/pinentry/trunk/Makefile	2009-12-04 17:30:14 UTC (rev 7553)
@@ -9,9 +9,13 @@
 define BLURB
 endef
 SPKG_SOURCEURL = http://www.gnupg.org/
-PKG_CONFIG_PATH = /opt/csw/lib/pkgconfig:/opt/csw/X11/lib/pkgconfig
+EXTRA_INC = $(prefix)/X11/include
+EXTRA_LIB = $(prefix)/X11/lib
+EXTRA_PKG_CONFIG_DIRS = $(prefix)/X11/lib
 MASTER_SITES = ftp://ftp.gnupg.org/gcrypt/pinentry/
-PATCHFILES  = 0001-remove-__extension__-from-util.c.patch
+# PATCHFILES  = 0001-remove-__extension__-from-util.c.patch
+EXTRA_CFLAGS = -D__EXTENSIONS__
+EXTRA_CXXFLAGS = -D__EXTENSIONS__
 PATCHFILES += 0002-ncurses-include.patch
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
@@ -20,5 +24,32 @@
 PREREQUISITE_PKGS += CSWgtk2devel
 TEST_SCRIPTS =
 CONFIGURE_ARGS = $(DIRPATHS)
+
+# Unfortunately, the compilation fails with SOS11. Because of that, pinentry
+# can't be compiled on Solaris 8, and CSWgnupg2 needs to be compiled for
+# Solaris 8 with no pinentry support.
+#
+# gmake[4]: Entering directory
+# `(...)/pinentry-0.7.6/secmem'
+# source='util.c' object='util.o' libtool=no \
+#         DEPDIR=.deps depmode=none /bin/bash ../depcomp \
+#         /opt/studio/SOS11/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I.. \
+#         -I/opt/csw/X11/include -I/opt/csw/include  -xO3 -xarch=v8 \
+#         -D__EXTENSIONS__ -c util.c
+# "util.c", line 57: warning: implicit function declaration: __extension__
+# "util.c", line 57: syntax error before or at: {
+# "util.c", line 57: undefined symbol: __result
+# "util.c", line 57: undefined symbol: __result
+# "util.c", line 57: undefined symbol: __result
+# "util.c", line 57: syntax error before or at: )
+# "util.c", line 58: warning: syntax error:  empty declaration
+# "util.c", line 59: warning: old-style declaration or incorrect type for: written
+# cc: acomp failed for util.c
+# gmake[4]: *** [util.o] Error 2
+
 GARCOMPILER = SOS12
+
+PACKAGING_PLATFORMS ?= solaris9-sparc solaris9-i386
+
+
 include gar/category.mk


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