Hello,
Trying to make a new port:
I can build the software manually with:
and sse3 is disabled. The code then passes the tests in 'gmake test'.
When I build using my port, the code builds, but sse3 is enabled and a couple of tests fail.
What am I doing wrong?
Thanks,
sprock
Trying to make a new port:
Code:
# $FreeBSD
PORTNAME= gf2x
DISTVERSION= 1.3.0
CATEGORIES= math
#MASTER_SITES= https://scm.gforge.inria.fr/anonscm/git/gf2x/gf2x.git
LICENSE= GPLv3
MAINTAINER= rmason@mun.ca
COMMENT= gf2x is a C/C++ software package containing routines for fast arithmetic in GF(2)[x].
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --disable-sse3
USES= libtool
CONFIGURE_ARGS= --prefix=${PREFIX}
INSTALL_TARGET=install-strip
check regression-test test: build
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${CORELIMIT} ${MAKE_CMD} \
${MAKE_ARGS} check
.include <bsd.port.mk>
I can build the software manually with:
Code:
./configure CC=/usr/bin/cc CXX=/usr/bin/c++ --disable-sse3
When I build using my port, the code builds, but sse3 is enabled and a couple of tests fail.
What am I doing wrong?
Thanks,
sprock