pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/git-gitk



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Wed Jun 14 10:30:11 UTC 2023

Modified Files:
        pkgsrc/devel/git-gitk: Makefile

Log Message:
devel/git-gitk: Set gitexecdir when cross-compiling.

Also predetermine some configure results that are detected by
run-time tests.

XXX This path relative to PREFIX, libexec/git-core, should perhaps be
named somewhere more central for git stuff.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/git-gitk/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-gitk/Makefile
diff -u pkgsrc/devel/git-gitk/Makefile:1.5 pkgsrc/devel/git-gitk/Makefile:1.6
--- pkgsrc/devel/git-gitk/Makefile:1.5  Fri Nov  8 12:24:31 2019
+++ pkgsrc/devel/git-gitk/Makefile      Wed Jun 14 10:30:11 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2019/11/08 12:24:31 adam Exp $
+# $NetBSD: Makefile,v 1.6 2023/06/14 10:30:11 riastradh Exp $
 
 PKGNAME=       git-gitk-${GIT_VERSION}
 COMMENT=       GIT Tree History Storage Tool (gitk)
@@ -29,6 +29,13 @@ WISH_APP=    Wish Shell
 PLIST_SUBST+=  WISH_APP=${WISH_APP:Q}
 .endif
 
+.if ${USE_CROSS_COMPILE:U:tl} == "yes"
+ALL_ENV+=              gitexecdir=${PREFIX:Q}/libexec/git-core # XXX
+CONFIGURE_ENV.NetBSD+= ac_cv_iconv_omits_bom=no
+CONFIGURE_ENV.NetBSD+= ac_cv_fread_reads_directories=yes
+CONFIGURE_ENV.NetBSD+= ac_cv_snprintf_returns_bogus=no
+.endif
+
 .include "../../devel/git/Makefile.common"
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index