summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorbjs <bjs>2007-12-12 04:05:27 +0000
committerbjs <bjs>2007-12-12 04:05:27 +0000
commit4665e2d09a0403fd467e7f30e8972320bfda5ff7 (patch)
tree4b22e40c71c1f6341f1c0bcf4155f9e03a8890c3 /devel
parent7f9ce02b690a182ff43e38a1a886ec8ea5b1c84f (diff)
downloadpkgsrc-4665e2d09a0403fd467e7f30e8972320bfda5ff7.tar.gz
Switch GIT to use a meta-pkg hierarchy like, for example, devel/subversion.
Also, update to 1.5.3.7. Fixes since v1.5.3.6 -------------------- * git-send-email added 8-bit contents to the payload without marking it as 8-bit in a CTE header. * "git-bundle create a.bndl HEAD" dereferenced the symref and did not record the ref as 'HEAD'; this prevented a bundle from being used as a normal source of git-clone. * The code to reject nonsense command line of the form "git-commit -a paths..." and "git-commit --interactive paths..." were broken. * Adding a signature that is not ASCII-only to an original commit that is ASCII-only would make the result non-ASCII. "git-format-patch -s" did not mark such a message correctly with MIME encoding header. * git-add sometimes did not mark the resulting index entry stat-clean. This affected only cases when adding the contents with the same length as the previously staged contents, and the previous staging made the index entry "racily clean". * git-commit did not honor GIT_INDEX_FILE the user had in the environment. * When checking out a revision, git-checkout did not report where the updated HEAD is if you happened to have a file called HEAD in the work tree. * "git-rev-list --objects" mishandled a tree that points at a submodule. * "git cvsimport" was not ready for packed refs that "git gc" can produce and gave incorrect results. * Many scripted Porcelains were confused when you happened to have a file called "HEAD" in your work tree. * Miscellaneous updates to the user manual and documentation.
Diffstat (limited to 'devel')
-rw-r--r--devel/scmgit/Makefile.common31
1 files changed, 31 insertions, 0 deletions
diff --git a/devel/scmgit/Makefile.common b/devel/scmgit/Makefile.common
new file mode 100644
index 00000000000..d074e22efae
--- /dev/null
+++ b/devel/scmgit/Makefile.common
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2007/12/12 04:05:27 bjs Exp $
+#
+
+DISTNAME= git-${GIT_VERSION}
+CATEGORIES= devel scm
+MASTER_SITES?= http://www.kernel.org/pub/software/scm/git/
+
+MAINTAINER?= pancake@phreaker.net
+HOMEPAGE?= http://git.or.cz/
+
+PATCHDIR= ${.CURDIR}/../scmgit-base/patches
+DISTINFO_FILE= ${.CURDIR}/../scmgit-base/distinfo
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GIT_VERSION= 1.5.3.7
+
+MAKE_ENV+= HOME=${PREFIX:Q}
+USE_TOOLS+= gmake tar perl sh
+EXTRACT_USING?= gtar
+
+MAKE_ENV+= PERL_PATH=${PERL5:Q}
+MAKE_ENV+= SHELL_PATH=${SH:Q}
+MAKE_ENV+= TAR=${TAR:Q}
+MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR}
+
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib
+LIBS.SunOS+= -liconv
+CFLAGS.NetBSD+= -D_NETBSD_SOURCE
+
+AUTO_MKDIRS?= yes