Skip to content

Commit 2fe4b63

Browse files
committed
libgit2-devel: add c99-related detail
1 parent 4147af4 commit 2fe4b63

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

devel/libgit2-devel/Portfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ post-patch {
6363
}
6464

6565
compiler.c_standard 1999
66+
67+
# Force cmake to pass `-std=c99`, otherwise `-std=c90` is used
68+
# See: https://trac.macports.org/ticket/72428
6669
cmake.set_c_standard yes
6770

6871
# Clear optflags; controlled by project, via cmake build type

0 commit comments

Comments
 (0)