diff options
Diffstat (limited to 'devel/sfslite')
-rw-r--r-- | devel/sfslite/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/devel/sfslite/Makefile b/devel/sfslite/Makefile index 9f6ed0376240..dedaa0ed1667 100644 --- a/devel/sfslite/Makefile +++ b/devel/sfslite/Makefile @@ -13,6 +13,10 @@ MASTER_SITES= http://dist.okws.org/dist/ MAINTAINER= ports@okws.org COMMENT= Standard version of the sfslite library +LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 + +CONFIGURE_ARGS= --with-gmp=${LOCALBASE} + GNU_CONFIGURE= yes USE_GMAKE= yes # @@ -20,15 +24,6 @@ USE_GMAKE= yes # USE_BISON= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} > 500000 -LIB_DEPENDS+= gmp.7:${PORTSDIR}/math/libgmp4 -CONFIGURE_ARGS+=--with-gmp=${LOCALBASE} -.else -CONFIGURE_ARGS+=--with-gmp=/usr -.endif - # # Map X.Y.Z.Q => X.Y # @@ -68,4 +63,4 @@ PKG_INSTALL?= pkg-install pre-install: PKG_PREFIX=${PREFIX} ${SH} ${PKG_INSTALL} ${PKGNAME} PRE-INSTALL -.include <bsd.port.post.mk> +.include <bsd.port.mk> |