SF.net SVN: gar:[26320] csw/mgar/pkg/tor/trunk/Makefile

jake_goerzen at users.sourceforge.net jake_goerzen at users.sourceforge.net
Mon Jan 15 22:10:17 CET 2018


Revision: 26320
          http://sourceforge.net/p/gar/code/26320
Author:   jake_goerzen
Date:     2018-01-15 21:10:17 +0000 (Mon, 15 Jan 2018)
Log Message:
-----------
tor/trunk: add logic to do the overrides for the appropriate arch

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

Modified: csw/mgar/pkg/tor/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tor/trunk/Makefile	2018-01-15 18:29:42 UTC (rev 26319)
+++ csw/mgar/pkg/tor/trunk/Makefile	2018-01-15 21:10:17 UTC (rev 26320)
@@ -56,8 +56,11 @@
 
 PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
 
+UNAME := $(shell /usr/bin/uname -p)
+
 # Overriding these since we have disabled LINKER_MAPS above
 
+ifeq ($(UNAME), i386)
 CHECKPKG_OVERRIDES_CSWtor += forbidden-version-interface-dependencies|/opt/csw/bin/amd64/tor|requires|forbidden|interface|version|SUNW_1.22.7|in|library|libc.so.1
 CHECKPKG_OVERRIDES_CSWtor += forbidden-version-interface-dependencies|/opt/csw/bin/amd64/tor-gencert|requires|forbidden|interface|version|SUNW_1.22.7|in|library|libc.so.1
 CHECKPKG_OVERRIDES_CSWtor += forbidden-version-interface-dependencies|/opt/csw/bin/amd64/tor-resolve|requires|forbidden|interface|version|SUNW_1.22.7|in|library|libc.so.1
@@ -64,7 +67,17 @@
 CHECKPKG_OVERRIDES_CSWtor += forbidden-version-interface-dependencies|/opt/csw/bin/pentium_pro/tor|requires|forbidden|interface|version|SUNW_1.22.7|in|library|libc.so.1
 CHECKPKG_OVERRIDES_CSWtor += forbidden-version-interface-dependencies|/opt/csw/bin/pentium_pro/tor-gencert|requires|forbidden|interface|version|SUNW_1.22.7|in|library|libc.so.1
 CHECKPKG_OVERRIDES_CSWtor += forbidden-version-interface-dependencies|/opt/csw/bin/pentium_pro/tor-resolve|requires|forbidden|interface|version|SUNW_1.22.7|in|library|libc.so.1
+endif
 
+ifeq ($(UNAME), sparc)
+CHECKPKG_OVERRIDES_CSWtor += forbidden-version-interface-dependencies|/opt/csw/bin/sparcv8plus/tor|requires|forbidden|interface|version|SUNW_1.22.7|in|library|libc.so.1
+CHECKPKG_OVERRIDES_CSWtor += forbidden-version-interface-dependencies|/opt/csw/bin/sparcv8plus/tor-gencert|requires|forbidden|interface|version|SUNW_1.22.7|in|library|libc.so.1
+CHECKPKG_OVERRIDES_CSWtor += forbidden-version-interface-dependencies|/opt/csw/bin/sparcv8plus/tor-resolve|requires|forbidden|interface|version|SUNW_1.22.7|in|library|libc.so.1
+CHECKPKG_OVERRIDES_CSWtor += forbidden-version-interface-dependencies|/opt/csw/bin/sparcv9/tor|requires|forbidden|interface|version|SUNW_1.22.7|in|library|libc.so.1
+CHECKPKG_OVERRIDES_CSWtor += forbidden-version-interface-dependencies|/opt/csw/bin/sparcv9/tor-gencert|requires|forbidden|interface|version|SUNW_1.22.7|in|library|libc.so.1
+CHECKPKG_OVERRIDES_CSWtor += forbidden-version-interface-dependencies|/opt/csw/bin/sparcv9/tor-resolve|requires|forbidden|interface|version|SUNW_1.22.7|in|library|libc.so.1
+endif
+
 include gar/category.mk
 
 post-install-modulated:

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