math/zimpl: Update 3.3.4 -> 3.3.6

Also change MASTER_SITES and WWW to https.

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2018-11-11 21:06:57 +00:00
parent fb62d0dc05
commit 494e112bc6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484771
4 changed files with 25 additions and 16 deletions

View file

@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= zimpl
DISTVERSION= 3.3.4
DISTVERSION= 3.3.6
CATEGORIES= math
MASTER_SITES= http://zimpl.zib.de/download/
MASTER_SITES= https://zimpl.zib.de/download/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Language to translate the LP models into .lp or .mps
@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= missing make/make.linux.$${arch}.gnu.opt for other architectures
BUILD_DEPENDS= bison:devel/bison
LIB_DEPENDS= libgmp.so:math/gmp
USES= gmake localbase:ldflags tar:tgz

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1514229681
SHA256 (zimpl-3.3.4.tgz) = 3362fb21524df459723d23f6e0c122ebdd684153a9cc991a2c7f5b2752a83eb2
SIZE (zimpl-3.3.4.tgz) = 802251
TIMESTAMP = 1541970033
SHA256 (zimpl-3.3.6.tgz) = 1f3f0bc2b9710a87b04985d9f14cc1bc207add8b2e16a8b373cb540b8fbe1326
SIZE (zimpl-3.3.6.tgz) = 746262

View file

@ -1,4 +1,4 @@
--- Makefile.orig 2017-03-07 17:20:10 UTC
--- Makefile.orig 2018-11-11 21:01:50 UTC
+++ Makefile
@@ -26,7 +26,7 @@
#
@ -17,16 +17,24 @@
-e s/cygwin.*/cygwin/ \
-e s/irix../irix/ \
-e s/windows.*/windows/ \
@@ -76,7 +77,7 @@ SRCDIR = src
BINDIR = bin
@@ -77,11 +78,11 @@ BINDIR = bin
LIBDIR = lib
LINTCONF = /opt/pclint/config
-CPPFLAGS = -I$(SRCDIR) -DVERSION='"$(VERSION)"'
+CPPFLAGS += -I$(SRCDIR) -DVERSION='"$(VERSION)"'
CFLAGS = -O
LDFLAGS = -lgmp -lm
YFLAGS = -d -t -v
@@ -102,10 +103,10 @@ ifeq ($(STATIC),true)
-CPPFLAGS = -I$(SRCDIR)/.. -DVERSION='"$(VERSION)"'
-CFLAGS = -O
-LDFLAGS = -lgmp -lm
-YFLAGS = -d -t -v
-LFLAGS = -d
+CPPFLAGS += -I$(SRCDIR)/.. -DVERSION='"$(VERSION)"'
+CFLAGS += -O
+LDFLAGS += -lgmp -lm
+YFLAGS += -d -t -v
+LFLAGS += -d
ARFLAGS =
DFLAGS = -MM
@@ -103,10 +104,10 @@ ifeq ($(STATIC),true)
LINK = static
endif
@ -40,7 +48,7 @@
LIBNAME = $(NAME)-$(VERSION).$(BASE)
LIBRARY = $(LIBDIR)/lib$(LIBNAME)$(LIBEXT)
@@ -140,7 +141,7 @@ OBJSRC = $(addprefix $(SRCDIR)/,$(OBJEC
@@ -141,7 +142,7 @@ OBJSRC = $(addprefix $(SRCDIR)/,$(OBJEC
LIBSRC = $(addprefix $(SRCDIR)/,$(LIBOBJ:.o=.c)) #(SRCDIR)/numbdbl.c
#-----------------------------------------------------------------------------

View file

@ -3,4 +3,4 @@ into a linear or nonlinear (mixed-) integer mathematical program expressed
in .lp or .mps file format which can be read and (hopefully) solved by a LP
or MIP solver.
WWW: http://zimpl.zib.de
WWW: https://zimpl.zib.de