[csw-devel] SF.net SVN: gar:[21164] csw/mgar/pkg/imap-c-client/trunk

lblume at users.sourceforge.net lblume at users.sourceforge.net
Tue May 21 17:32:44 CEST 2013


Revision: 21164
          http://gar.svn.sourceforge.net/gar/?rev=21164&view=rev
Author:   lblume
Date:     2013-05-21 15:32:44 +0000 (Tue, 21 May 2013)
Log Message:
-----------
imap-c-client/trunk: Add a 64 bit version of the lib; do some cleanup of obsolete overrides

Modified Paths:
--------------
    csw/mgar/pkg/imap-c-client/trunk/Makefile
    csw/mgar/pkg/imap-c-client/trunk/files/shared.diff

Modified: csw/mgar/pkg/imap-c-client/trunk/Makefile
===================================================================
--- csw/mgar/pkg/imap-c-client/trunk/Makefile	2013-05-21 14:45:14 UTC (rev 21163)
+++ csw/mgar/pkg/imap-c-client/trunk/Makefile	2013-05-21 15:32:44 UTC (rev 21164)
@@ -23,6 +23,8 @@
 
 MERGE_EXCLUDE_STATICLIBS = 
 
+BUILD64_LIBS_ONLY = 1
+
 # Build libc-client.so
 PATCHFILES += shared.diff
 
@@ -36,32 +38,23 @@
 SPKG_DESC_CSWlibc-client2007f += $(DESCRIPTION), libc-client.2007f.so
 PKGFILES_CSWlibc-client2007f += $(call pkgfiles_lib,libc-client.2007f.so)
 RUNTIME_DEP_PKGS_CSWlibc-client2007f += CSWlibssl1-0-0
-CHECKPKG_OVERRIDES_CSWlibc-client2007f += file-with-bad-content|/usr/share|root/opt/csw/lib/libc-client.2007f.so
 CHECKPKG_OVERRIDES_CSWlibc-client2007f += soname-equals-filename|file=/opt/csw/lib/libc-client.2007f.so
+CHECKPKG_OVERRIDES_CSWlibc-client2007f_i386  += soname-equals-filename|file=/opt/csw/lib/amd64/libc-client.2007f.so
+CHECKPKG_OVERRIDES_CSWlibc-client2007f_sparc += soname-equals-filename|file=/opt/csw/lib/sparcv9/libc-client.2007f.so
+CHECKPKG_OVERRIDES_CSWlibc-client2007f += $(CHECKPKG_OVERRIDES_CSWlibc-client2007f_$(GARCH))
 
 PACKAGES += CSWlibc-client-dev
 SPKG_DESC_CSWlibc-client-dev = Development files for $(NAME) $(VERSION)
 PKGFILES_CSWlibc-client-dev = $(PKGFILES_DEVEL_INCLUDEDIR)
-PKGFILES_CSWlibc-client-dev += $(libdir)/libc-client.so
-PKGFILES_CSWlibc-client-dev += $(libdir)/c-client.a
+PKGFILES_CSWlibc-client-dev += $(libdir)/.*libc-client.so
+PKGFILES_CSWlibc-client-dev += $(libdir)/.*c-client.a
 RUNTIME_DEP_PKGS_CSWlibc-client-dev += CSWlibc-client2007f
 OBSOLETED_BY_CSWlibc-client-dev = CSWimap-devel
-CHECKPKG_OVERRIDES_CSWlibc-client-dev += surplus-dependency|CSWlibc-client2007f
-CHECKPKG_OVERRIDES_CSWlibc-client-dev += file-with-bad-content|/usr/share|root/opt/csw/lib/c-client.a
 
 PACKAGES += CSWimap
 SPKG_DESC_CSWimap = Mail server daemon (UW)
 RUNTIME_DEP_PKGS_CSWimap = CSWlibssl1-0-0
 
-CHECKPKG_OVERRIDES_CSWimap += file-with-bad-content|/usr/local|root/opt/csw/share/man/man1/tmail.1
-CHECKPKG_OVERRIDES_CSWimap += file-with-bad-content|/usr/local|root/opt/csw/share/doc/imap/SSLBUILD
-CHECKPKG_OVERRIDES_CSWimap += file-with-bad-content|/usr/local|root/opt/csw/share/doc/imap/bugs.txt
-CHECKPKG_OVERRIDES_CSWimap += file-with-bad-content|/usr/local|root/opt/csw/share/doc/imap/IPv6.txt
-CHECKPKG_OVERRIDES_CSWimap += file-with-bad-content|/usr/local|root/opt/csw/share/doc/imap/BUILD
-CHECKPKG_OVERRIDES_CSWimap += file-with-bad-content|/usr/local|root/opt/csw/share/doc/imap/FAQ.html
-CHECKPKG_OVERRIDES_CSWimap += file-with-bad-content|/usr/local|root/opt/csw/share/doc/imap/FAQ.txt
-
-
 INETDCONF  = $(sysconfdir)/pkg/CSWimap/imap.inetd.conf
 INETDCONF += $(sysconfdir)/pkg/CSWimap/imaps.inetd.conf
 INETDCONF += $(sysconfdir)/pkg/CSWimap/pop.inetd.conf
@@ -80,7 +73,7 @@
 include gar/category.mk
 
 build-custom:
-	@( cd $(WORKSRC) ; $(BUILD_ENV) DISTVERSION=$(VERSION) make soc )
+	@( cd $(WORKSRC) ; $(BUILD_ENV) DISTVERSION=$(VERSION) make EXTRALDFLAGS="$(LDFLAGS) $(EXTRA_LDFLAGS)" EXTRACFLAGS="$(CFLAGS) $(EXTRA_CFLAGS)" soc )
 	@$(MAKECOOKIE)
 
 install-uwimap:
@@ -113,14 +106,17 @@
 	@$(MAKECOOKIE)
 
 install-libc-client:
-	ginstall -d $(DESTDIR)$(libdir)
-	ginstall -p -m644 $(WORKSRC)/c-client/c-client.a $(DESTDIR)$(libdir)
-	ginstall -p -m755 \
-		$(WORKSRC)/c-client/libc-client.$(VERSION).so $(DESTDIR)$(libdir)
 	ginstall -d $(DESTDIR)$(includedir)/imap
 	ginstall -p -m644 $(WORKSRC)/c-client/*.h $(DESTDIR)$(includedir)/imap
 	ginstall -p -m644 $(WORKSRC)/c-client/linkage.c $(DESTDIR)$(includedir)/imap
 	ginstall -p -m644 \
 		$(WORKSRC)/src/osdep/tops-20/shortsym.h $(DESTDIR)$(includedir)/imap
+	@$(MAKECOOKIE)
+
+post-install-modulated:
+	ginstall -d $(DESTDIR)$(libdir)
+	ginstall -p -m644 $(WORKSRC)/c-client/c-client.a $(DESTDIR)$(libdir)
+	ginstall -p -m755 \
+		$(WORKSRC)/c-client/libc-client.$(VERSION).so $(DESTDIR)$(libdir)
 	cd $(DESTDIR)$(libdir); ln -sf libc-client.$(VERSION).so libc-client.so
 	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/imap-c-client/trunk/files/shared.diff
===================================================================
--- csw/mgar/pkg/imap-c-client/trunk/files/shared.diff	2013-05-21 14:45:14 UTC (rev 21163)
+++ csw/mgar/pkg/imap-c-client/trunk/files/shared.diff	2013-05-21 15:32:44 UTC (rev 21164)
@@ -90,7 +90,7 @@
  	OSCFLAGS
 +
 +osdep.o: $(OSDEPS)
-+	$(CC) $(CFLAGS) `$(CAT) OSCFLAGS` -c osdep.c
++	$(CC) `$(CAT) CFLAGS` `$(CAT) OSCFLAGS` -c osdep.c
 +	@echo ==============================================================
  	@echo Building OS-dependent module
  	@echo If you get No such file error messages for files x509.h, ssl.h,
@@ -101,7 +101,7 @@
 +	@echo ==============================================================
 +
 +osdep.so: $(OSDEPS)
-+	$(CC) -KPIC -DPIC -D_REENTRANT -c $(CFLAGS) `$(CAT) OSCFLAGS` osdep.c -o $@
++	$(CC) -KPIC -DPIC -D_REENTRANT -c `$(CAT) CFLAGS` `$(CAT) OSCFLAGS` osdep.c -o $@
  
  osdep.c: osdepbas.c osdepckp.c osdeplog.c osdepssl.c
  	$(CAT) osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c

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