diff options
author | Brendan Fabeny <bf@FreeBSD.org> | 2010-08-29 08:52:36 +0000 |
---|---|---|
committer | Brendan Fabeny <bf@FreeBSD.org> | 2010-08-29 08:52:36 +0000 |
commit | 63256cf32a4fe93374b5b306f4df016b6810eff6 (patch) | |
tree | 2becac3d29dd006bde4e8289d910b258c7b4f664 /math/msieve | |
parent | be04160ebd5ac4637a9f999d8b358ef91f612696 (diff) | |
download | ports-63256cf32a4fe93374b5b306f4df016b6810eff6.tar.gz ports-63256cf32a4fe93374b5b306f4df016b6810eff6.zip |
Notes
Diffstat (limited to 'math/msieve')
-rw-r--r-- | math/msieve/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/math/msieve/Makefile b/math/msieve/Makefile index 4a90e2fcafa6..1102041b7a8f 100644 --- a/math/msieve/Makefile +++ b/math/msieve/Makefile @@ -20,10 +20,9 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libecm.a:${PORTSDIR}/math/gmp-ecm WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_GMAKE= yes -MAKE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ - LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \ - PTHREAD_LIBS="${PTHREAD_LIBS}" \ - ECM=1 +CFLAGS+= -D_FILE_OFFSET_BITS=64 -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +MAKE_ENV= LDFLAGS="${LDFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}" ECM=1 PLIST_FILES= bin/msieve lib/libmsieve.a include/msieve/msieve.h \ include/msieve/mp.h include/msieve/util.h @@ -35,9 +34,7 @@ OPTIONS= OCFLAGS "Enable optimized CFLAGS" On .include <bsd.port.pre.mk> .if !defined(WITHOUT_OCFLAGS) -CFLAGS+= -O3 -ffast-math -fomit-frame-pointer -DNDEBUG -D_FILE_OFFSET_BITS=64 -.else -CFLAGS+= -D_FILE_OFFSET_BITS=64 +CFLAGS+= -O3 -ffast-math -fomit-frame-pointer -DNDEBUG .endif .if ${OSVERSION} >= 700042 && ${ARCH} == "sparc64" |