aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2024-01-27 16:17:45 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2024-01-27 16:17:45 +0000
commit944b46a328876b0eab58bdf6a7b3fffee423e584 (patch)
tree361a15ba78e93ad34d3eafebd7beb0c9307daffa
parent25bac227b53c6e22c2378c4fffb63ccb4f6983fb (diff)
downloadports-944b46a328876b0eab58bdf6a7b3fffee423e584.tar.gz
ports-944b46a328876b0eab58bdf6a7b3fffee423e584.zip
-rw-r--r--devel/got/Makefile1
-rw-r--r--devel/got/files/patch-Makefile.inc12
-rw-r--r--devel/got/pkg-plist12
3 files changed, 16 insertions, 9 deletions
diff --git a/devel/got/Makefile b/devel/got/Makefile
index 63d492b5f209..806bc94dd3ea 100644
--- a/devel/got/Makefile
+++ b/devel/got/Makefile
@@ -1,5 +1,6 @@
PORTNAME= got
DISTVERSION= 0.95
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://gameoftrees.org/releases/
diff --git a/devel/got/files/patch-Makefile.inc b/devel/got/files/patch-Makefile.inc
index ded2594b255b..0e34a26d1973 100644
--- a/devel/got/files/patch-Makefile.inc
+++ b/devel/got/files/patch-Makefile.inc
@@ -1,7 +1,7 @@
---- Makefile.inc.orig 2020-12-19 00:55:45 UTC
+--- Makefile.inc.orig 2023-09-03 23:15:32 UTC
+++ Makefile.inc
-@@ -4,6 +4,19 @@ CPPFLAGS += -DGOT_LIBEXECDIR=${LIBEXECDIR} -DGOT_VERSI
- #CFLAGS += -DGOT_OBJ_CACHE_DEBUG
+@@ -6,11 +6,24 @@ CPPFLAGS += -DGOT_LIBEXECDIR=${LIBEXECDIR} -DGOT_VERSI
+ #CFLAGS += -DGOT_DELTA_CACHE_DEBUG
#CFLAGS += -DGOT_DIFF_NO_MMAP
+# work around https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63567
@@ -20,3 +20,9 @@
.if "${GOT_RELEASE}" == "Yes"
PREFIX ?= /usr/local
BINDIR ?= ${PREFIX}/bin
+ LIBEXECDIR ?= ${PREFIX}/libexec
+-MANDIR ?= ${PREFIX}/man/man
++MANDIR ?= ${PREFIX}/share/man/man
+ .else
+ CFLAGS += -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
+ CFLAGS += -Wwrite-strings -Wunused-variable
diff --git a/devel/got/pkg-plist b/devel/got/pkg-plist
index a4b22a2ad18b..4614cdf0b9e1 100644
--- a/devel/got/pkg-plist
+++ b/devel/got/pkg-plist
@@ -13,9 +13,9 @@ libexec/got-read-patch
libexec/got-read-tag
libexec/got-read-tree
libexec/got-send-pack
-man/man1/got.1.gz
-man/man1/gotadmin.1.gz
-man/man1/tog.1.gz
-man/man5/git-repository.5.gz
-man/man5/got-worktree.5.gz
-man/man5/got.conf.5.gz
+share/man/man1/got.1.gz
+share/man/man1/gotadmin.1.gz
+share/man/man1/tog.1.gz
+share/man/man5/git-repository.5.gz
+share/man/man5/got-worktree.5.gz
+share/man/man5/got.conf.5.gz