pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/git-base
Module Name: pkgsrc
Committed By: nia
Date: Wed Nov 15 22:09:21 UTC 2023
Modified Files:
pkgsrc/devel/git-base: Makefile
Log Message:
git-base: Fix building on Darwin/ppc.
To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 pkgsrc/devel/git-base/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/git-base/Makefile
diff -u pkgsrc/devel/git-base/Makefile:1.111 pkgsrc/devel/git-base/Makefile:1.112
--- pkgsrc/devel/git-base/Makefile:1.111 Wed Nov 8 13:18:44 2023
+++ pkgsrc/devel/git-base/Makefile Wed Nov 15 22:09:21 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.111 2023/11/08 13:18:44 wiz Exp $
+# $NetBSD: Makefile,v 1.112 2023/11/15 22:09:21 nia Exp $
PKGREVISION= 1
.include "../../devel/git/Makefile.common"
@@ -58,6 +58,7 @@ CONFIGURE_ENV+= HOME=${PREFIX}
CONFIGURE_ENV+= gitexecdir=${GITCOREDIR}
MAKE_FLAGS+= INSTALL=${INSTALL:Q}
+MAKE_FLAGS+= CC_LD_DYNPATH=${COMPILER_RPATH_FLAG}
MAKE_ENV+= NO_GITWEB=1
MAKE_ENV+= NO_PERL=1
@@ -90,6 +91,15 @@ SUBST_STAGE.fix-cd-P= pre-build
SUBST_SED.fix-cd-P= -e "s/cd -P/cd/g"
.endif
+.if ${MACHINE_PLATFORM:MDarwin-*-powerpc*}
+. include "../../devel/macports-legacy-support/buildlink3.mk"
+LDFLAGS+= -lMacportsLegacySupport
+MAKE_FLAGS+= NO_PTHREADS=YesPlease
+MAKE_FLAGS+= NO_UNIX_SOCKETS=YesPlease
+CPPFLAGS+= -DREG_ENHANCED=REG_EXTENDED
+CPPFLAGS+= -DSHA1DC_BIGENDIAN
+.endif
+
SUBST_CLASSES+= test-shell
SUBST_FILES.test-shell= t/Makefile
SUBST_MESSAGE.test-shell= Use bash as TEST_SHELL_PATH
Home |
Main Index |
Thread Index |
Old Index