SF.net SVN: gar:[24989] csw/mgar/pkg/libasr/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon May 18 18:05:00 CEST 2015


Revision: 24989
          http://sourceforge.net/p/gar/code/24989
Author:   dmichelsen
Date:     2015-05-18 16:05:00 +0000 (Mon, 18 May 2015)
Log Message:
-----------
libasr/trunk: Some updates

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

Added Paths:
-----------
    csw/mgar/pkg/libasr/trunk/files/openbsd-compat.tgz

Removed Paths:
-------------
    csw/mgar/pkg/libasr/trunk/files/openbsd-compat/

Modified: csw/mgar/pkg/libasr/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libasr/trunk/Makefile	2015-05-18 10:03:51 UTC (rev 24988)
+++ csw/mgar/pkg/libasr/trunk/Makefile	2015-05-18 16:05:00 UTC (rev 24989)
@@ -5,7 +5,7 @@
 VERSION = 201505061057
 GARTYPE = v2
 
-DESCRIPTION = libasr is a free, simple and portable asynchronous resolver library.
+DESCRIPTION = A free, simple and portable asynchronous resolver library
 define BLURB
  libasr is a free, simple and portable asynchronous resolver library.
  
@@ -23,37 +23,35 @@
 endef
 
 MASTER_SITES = http://www.opensmtpd.org/archives/
-DISTFILES  = $(DISTNAME).tar.gz
+DISTFILES += $(DISTNAME).tar.gz
+DISTFILES += openbsd-compat.tgz
 
-ifneq ($(GAROSREL),11)
-PATCHFILES += 0001-add-openbsd-compat-getifaddrs.c.patch
-endif
+PATCHFILES-5.10 += 0001-add-openbsd-compat-getifaddrs.c.patch
 PATCHFILES += 0002-fix-possible-MAX-redefinition.patch
+PATCHFILES += $(PATHFILES-$(GAROSREL))
 
-GARCOMPILER = GNU
+PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386
+PACKAGING_PLATFORMS += solaris11-sparc solaris11-i386
 
-PACKAGES += CSWlibasr
-CATALOGNAME_CSWlibasr = libasr
-PKGFILES_CSWlibasr += $(call baseisadirs,$(libdir),libasr\.so(\.\d+)*)
-SPKG_DESC_CSWlibasr += $(DESCRIPTION), libasr.so
+BUILD64 = 1
 
+PACKAGES += CSWlibasr0
+PKGFILES_CSWlibasr0 += $(call pkgfiles_lib,libasr.so.0)
+SPKG_DESC_CSWlibasr0 += $(DESCRIPTION), libasr.so.0
+
 PACKAGES += CSWlibasr-dev
-CATALOGNAME_CSWlibasr-dev = libasr_dev
-SPKG_DESC_CSWlibasr-dev += $(DESCRIPTION), development files
-RUNTIME_DEP_PKGS_CSWlibasr-dev += CSWlibasr
+SPKG_DESC_CSWlibasr-dev += Development files for libasr.so.0
+# PKGFILES is catchall
+RUNTIME_DEP_PKGS_CSWlibasr-dev += CSWlibasr0
 
 CONFIGURE_ARGS = $(DIRPATHS)
 CONFIGURE_ARGS += --with-mantype=man
 
 include gar/category.mk
 
-ifneq ($(GAROSREL),11)
 # ifaddrs.h    taken from https://java.net/projects/solaris/sources/on-src/content/usr/src/head/ifaddrs.h?raw=true
 # getifaddrs.c taken from https://java.net/projects/solaris/sources/on-src/content/usr/src/lib/libsocket/inet/getifaddrs.c?raw=true
 # libsocket_priv.h is a gruik hack
-pre-build-modulated:
-	cp $(FILEDIR)/openbsd-compat/ifaddrs.h $(WORKSRC)/openbsd-compat/
-	cp $(FILEDIR)/openbsd-compat/getifaddrs.c $(WORKSRC)/openbsd-compat/
-	cp $(FILEDIR)/openbsd-compat/libsocket_priv.h $(WORKSRC)/openbsd-compat/
+pre-build:
+	$(if $(filter 5.10,$(GAROSREL)),cp -rp $(WORKDIR)/openbsd-compat/* $(WORKSRC)/openbsd-compat)
 	@$(MAKECOOKIE)
-endif

Modified: csw/mgar/pkg/libasr/trunk/checksums
===================================================================
--- csw/mgar/pkg/libasr/trunk/checksums	2015-05-18 10:03:51 UTC (rev 24988)
+++ csw/mgar/pkg/libasr/trunk/checksums	2015-05-18 16:05:00 UTC (rev 24989)
@@ -1 +1 @@
-2a4b768b54892465570ef7488e56b737  libasr-201505061057.tar.gz
+2a4b768b54892465570ef7488e56b737  libasr-201505061057.tar.gz

Added: csw/mgar/pkg/libasr/trunk/files/openbsd-compat.tgz
===================================================================
(Binary files differ)

Index: csw/mgar/pkg/libasr/trunk/files/openbsd-compat.tgz
===================================================================
--- csw/mgar/pkg/libasr/trunk/files/openbsd-compat.tgz	2015-05-18 10:03:51 UTC (rev 24988)
+++ csw/mgar/pkg/libasr/trunk/files/openbsd-compat.tgz	2015-05-18 16:05:00 UTC (rev 24989)

Property changes on: csw/mgar/pkg/libasr/trunk/files/openbsd-compat.tgz
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/x-gzip
\ No newline at end of property
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