mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Fix license
- Add LICENSE_FILE - Fix build on arm
This commit is contained in:
parent
a8e577f421
commit
eeb39316e3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424051
2 changed files with 18 additions and 7 deletions
|
@ -10,7 +10,8 @@ PKGNAMEPREFIX= ocaml-
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= OCaml arithmetic library for arbitrary precision integers
|
COMMENT= OCaml arithmetic library for arbitrary precision integers
|
||||||
|
|
||||||
LICENSE= GPLv2
|
LICENSE= LGPL20
|
||||||
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
LIB_DEPENDS= libgmp.so:math/gmp
|
LIB_DEPENDS= libgmp.so:math/gmp
|
||||||
|
|
||||||
|
@ -22,13 +23,12 @@ OCAMLFIND_LDCONF= /dev/null
|
||||||
HAS_CONFIGURE= yes
|
HAS_CONFIGURE= yes
|
||||||
ALL_TARGET= all
|
ALL_TARGET= all
|
||||||
SHEBANG_FILES= z_pp.pl
|
SHEBANG_FILES= z_pp.pl
|
||||||
CONFIGURE_ENV+= DESTDIR=${STAGEDIR}
|
CONFIGURE_ENV= DESTDIR=${STAGEDIR}
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
|
|
||||||
MAKE_JOBS_UNSAFE= yes
|
MAKE_JOBS_UNSAFE= yes
|
||||||
|
|
||||||
BROKEN_armv6= binary /nxb-bin/usr/bin/cc: not found
|
|
||||||
PORTDOCS= html
|
PORTDOCS= html
|
||||||
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
|
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ OPTIONS_DEFINE= DOCS
|
||||||
DOCS_ALL_TARGET=doc
|
DOCS_ALL_TARGET=doc
|
||||||
|
|
||||||
post-install-DOCS-on:
|
post-install-DOCS-on:
|
||||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${MV} ${WRKSRC}/html ${STAGEDIR}${DOCSDIR}
|
${MV} ${WRKSRC}/html ${STAGEDIR}${DOCSDIR}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,6 +1,17 @@
|
||||||
--- configure.orig 2013-06-12 07:13:59.000000000 +0000
|
--- configure.orig 2013-06-12 07:13:59 UTC
|
||||||
+++ configure
|
+++ configure
|
||||||
@@ -304,6 +304,14 @@ case $host in
|
@@ -127,6 +127,10 @@ searchbin()
|
||||||
|
{
|
||||||
|
if test "x$1" = "x"; then return 0; fi
|
||||||
|
echo_n "binary $1: "
|
||||||
|
+ if test -x "$1"; then
|
||||||
|
+ echo "found"
|
||||||
|
+ return 1
|
||||||
|
+ fi
|
||||||
|
IFS=':'
|
||||||
|
for i in $PATH
|
||||||
|
do
|
||||||
|
@@ -304,6 +308,14 @@ case $host in
|
||||||
arch='i686'
|
arch='i686'
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
@ -15,7 +26,7 @@
|
||||||
i386-*darwin* | x86_64-*darwin*)
|
i386-*darwin* | x86_64-*darwin*)
|
||||||
ccdef="-DZ_UNDERSCORE_PREFIX -DZ_MACOS $ccdef"
|
ccdef="-DZ_UNDERSCORE_PREFIX -DZ_MACOS $ccdef"
|
||||||
if test "x$wordsize" = "x64"; then
|
if test "x$wordsize" = "x64"; then
|
||||||
@@ -401,7 +409,7 @@ CFLAGS=$ccinc $ccdef $ccopt
|
@@ -401,7 +413,7 @@ CFLAGS=$ccinc $ccdef $ccopt
|
||||||
ASFLAGS=$ccdef $asopt
|
ASFLAGS=$ccdef $asopt
|
||||||
LIBS=$cclib
|
LIBS=$cclib
|
||||||
ARCH=$arch
|
ARCH=$arch
|
||||||
|
|
Loading…
Add table
Reference in a new issue