- Update to version 4.24.
- include headers required for building gmpl support in math/clp - remover -fPIC hack for amd64 which doesn't seem necessary anymore. PR: 118265 Submitted by: "Pedro F. Giffuni" <giffunip@tutopia.com>
This commit is contained in:
parent
18b7e52869
commit
5f7109e9ef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=203308
3 changed files with 21 additions and 12 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= glpk
|
||||
PORTVERSION= 4.21
|
||||
PORTVERSION= 4.24
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= glpk
|
||||
|
@ -23,11 +23,19 @@ USE_GMAKE= yes
|
|||
USE_LDCONFIG= yes
|
||||
CFLAGS+= -trigraphs
|
||||
|
||||
GMPL_H= glpavl.h glpdmp.h glplib.h glpmpl.h glprng.h glpstd.h
|
||||
GMPLDIR= ${LOCALBASE}/include/gmpl
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= bench.txt bench1.txt glpk.ps glpk_faq.txt gmpl.ps opb.txt
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${GMPLDIR}
|
||||
for incfile in ${GMPL_H} ; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/include/$${incfile} ${GMPLDIR} ; \
|
||||
done
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
for docfile in ${PORTDOCS} ; do \
|
||||
|
@ -35,10 +43,4 @@ post-install:
|
|||
done
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
CFLAGS+= -fPIC
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (glpk-4.21.tar.gz) = a41df71415c97fc5c541d19547ced10a
|
||||
SHA256 (glpk-4.21.tar.gz) = 3be04106ef18b1f92af9fe7936ecb675a04cabab72ff65e1a03bf2205d99d549
|
||||
SIZE (glpk-4.21.tar.gz) = 1413712
|
||||
MD5 (glpk-4.24.tar.gz) = 765dcecc20dc6b80362e65c755f41976
|
||||
SHA256 (glpk-4.24.tar.gz) = 23326c9dd21762159b6fa946e41e0e95d233c6e9f9a69134ef10e3541cd516c9
|
||||
SIZE (glpk-4.24.tar.gz) = 1449575
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
bin/glpsol
|
||||
include/glpk.h
|
||||
include/gmpl/glpavl.h
|
||||
include/gmpl/glpdmp.h
|
||||
include/gmpl/glplib.h
|
||||
include/gmpl/glpmpl.h
|
||||
include/gmpl/glprng.h
|
||||
include/gmpl/glpstd.h
|
||||
@dirrm include/gmpl
|
||||
lib/libglpk.a
|
||||
lib/libglpk.la
|
||||
lib/libglpk.so
|
||||
lib/libglpk.so.6
|
||||
lib/libglpk.so.9
|
||||
|
|
Loading…
Reference in a new issue