pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49051: Unbreak devel/git on Mac OS X Tiger



>Number:         49051
>Category:       pkg
>Synopsis:       Unbreak devel/git on Mac OS X Tiger
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 29 15:25:00 +0000 2014
>Originator:     Sevan Janiyan
>Release:        
>Organization:
>Environment:
Darwin 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; 
root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
>Description:
The Apple CommonCrypto components required by git were not introduced until 
Darwin 9 / Leopard so build fails on previous releases

In file included from git-compat-util.h:330,
                 from cache.h:4,
                 from credential-store.c:1:
compat/apple-common-crypto.h:5:37: error: CommonCrypto/CommonHMAC.h: No such 
file or directory

Attached diff sets the build to use openssl instead.
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/git-base/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile    2 Jun 2014 16:32:36 -0000       1.15
+++ Makefile    29 Jul 2014 15:20:21 -0000
@@ -92,6 +92,10 @@
 
 LDFLAGS.SunOS+=                -lintl -lnsl
 
+.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
+MAKE_FLAGS+=   NO_APPLE_COMMON_CRYPTO=1
+.endif
+
 .include "../../mk/compiler.mk"
 .if !empty(PKGSRC_COMPILER:Mclang)
 # configure test gets confused by wrappers dropping -R /


Home | Main Index | Thread Index | Old Index