mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
Update to 4.28.
PR: 123543 Submitted by: bf <bf2006a@yahoo.com>
This commit is contained in:
parent
78fe2f47eb
commit
49df911309
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213338
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= glpk
|
||||
PORTVERSION= 4.25
|
||||
PORTVERSION= 4.28
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= glpk
|
||||
@ -16,6 +16,9 @@ COMMENT= A GNU Linear Programming Kit
|
||||
|
||||
LIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp4
|
||||
|
||||
OPTIONS= IODBC "Enable MathProg iodbc support" Off \
|
||||
MYSQL "Enable MathProg mysql support" Off
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_LDCONFIG= yes
|
||||
@ -24,11 +27,37 @@ CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.ifdef(WITH_IODBC || WITH_MYSQL)
|
||||
CONFIGURE_ARGS+= --enable-dl=dlfcn
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-dl
|
||||
.endif
|
||||
|
||||
.ifdef(WITH_IODBC)
|
||||
CONFIGURE_ARGS+= --enable-odbc
|
||||
LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-odbc
|
||||
.endif
|
||||
|
||||
.ifdef(WITH_MYSQL)
|
||||
CONFIGURE_ARGS+= --enable-mysql
|
||||
USE_MYSQL= yes
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-mysql
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= bench.txt bench1.txt glpk.ps glpk_faq.txt gmpl.ps \
|
||||
gomory.djvu opb.txt
|
||||
gomory.djvu opb.txt tables.txt
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s;\/usr\/include\/mysql;${LOCALBASE}\/include\/mysql;g" \
|
||||
${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/
|
||||
|
||||
@ -40,4 +69,4 @@ post-install:
|
||||
done
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (glpk-4.25.tar.gz) = 3bd85385acb1123a2b62420af45bcc39
|
||||
SHA256 (glpk-4.25.tar.gz) = a178a5ac51d4f344090bd71782f229c7cf69ba86f185c494f57a61d6f2948841
|
||||
SIZE (glpk-4.25.tar.gz) = 1487597
|
||||
MD5 (glpk-4.28.tar.gz) = 6e4f30c37fb189aec6c71b27f0a57449
|
||||
SHA256 (glpk-4.28.tar.gz) = 8faeb202e58a3a9f6a6a8b0e8ae557bcc30f712060b4871a530f070c14939fd8
|
||||
SIZE (glpk-4.28.tar.gz) = 1546104
|
||||
|
@ -3,6 +3,7 @@ include/glpapi.h
|
||||
include/glpavl.h
|
||||
include/glpbfd.h
|
||||
include/glpbfx.h
|
||||
include/glpcli.h
|
||||
include/glpdmp.h
|
||||
include/glpfhv.h
|
||||
include/glpgmp.h
|
||||
@ -20,14 +21,17 @@ include/glpmat.h
|
||||
include/glpmpl.h
|
||||
include/glppds.h
|
||||
include/glpqmd.h
|
||||
include/glprgr.h
|
||||
include/glprng.h
|
||||
include/glpscf.h
|
||||
include/glpscg.h
|
||||
include/glpspm.h
|
||||
include/glpspx.h
|
||||
include/glpsql.h
|
||||
include/glpssx.h
|
||||
include/glpstd.h
|
||||
include/glptsp.h
|
||||
lib/libglpk.a
|
||||
lib/libglpk.la
|
||||
lib/libglpk.so
|
||||
lib/libglpk.so.10
|
||||
lib/libglpk.so.13
|
||||
|
Loading…
Reference in New Issue
Block a user