diff options
-rw-r--r-- | math/lp_solve/Makefile | 14 | ||||
-rw-r--r-- | math/lp_solve/distinfo | 6 |
2 files changed, 11 insertions, 9 deletions
diff --git a/math/lp_solve/Makefile b/math/lp_solve/Makefile index 837c9f895a47..a0810396c828 100644 --- a/math/lp_solve/Makefile +++ b/math/lp_solve/Makefile @@ -6,9 +6,9 @@ # PORTNAME= lp_solve -PORTVERSION= ${PORTMAJOR_VER}.0.10 +PORTVERSION= ${PORTMAJOR_VER}.0.12 CATEGORIES= math -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} # http://groups.yahoo.com/group/lp_solve/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= lpsolve DISTNAME= ${PORTNAME}_${PORTVERSION}_source @@ -19,10 +19,12 @@ PORTMAJOR_VER= 5.5 WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTMAJOR_VER} USE_LDCONFIG= yes -.if ${MACHINE_ARCH} == "sparc64" -PICFLAG?= -fPIC +.include <bsd.port.pre.mk> + +.if ${ARCH} == "sparc64" +PICFLAG?= -fPIC .else -PICFLAG?= -fpic +PICFLAG?= -fpic .endif pre-build: @@ -51,4 +53,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/lpsolve55/liblpsolve55.so ${PREFIX}/lib ${LN} -sf ${PREFIX}/lib/liblpsolve55.so ${PREFIX}/lib/liblpsolve55.so.1 -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/math/lp_solve/distinfo b/math/lp_solve/distinfo index d1283ecebd7f..200ce3e469a0 100644 --- a/math/lp_solve/distinfo +++ b/math/lp_solve/distinfo @@ -1,3 +1,3 @@ -MD5 (lp_solve_5.5.0.10_source.tar.gz) = 26b3e95ddf3d9c077c480ea45874b3b8 -SHA256 (lp_solve_5.5.0.10_source.tar.gz) = 171816288f14215c69e730f7a4f1c325739873e21f946ff83884b350574e6695 -SIZE (lp_solve_5.5.0.10_source.tar.gz) = 769268 +MD5 (lp_solve_5.5.0.12_source.tar.gz) = bfb8c27aacca34b2263d3f37b3ad51ab +SHA256 (lp_solve_5.5.0.12_source.tar.gz) = bc26d07fe39ae50264e15ee54dbbcf4cb1fe6ecd2fef10142be5bdd38947f193 +SIZE (lp_solve_5.5.0.12_source.tar.gz) = 787446 |