pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

freebayes: sync with freebsd version



Module Name:	pkgsrc-wip
Committed By:	Winston Weinert <winston%ml1.net@localhost>
Pushed By:	winston
Date:		Thu Apr 26 07:23:36 2018 -0500
Changeset:	6be3c0de022e7f26a5aa6e86795a5b22f40ab320

Modified Files:
	freebayes/Makefile

Log Message:
freebayes: sync with freebsd version

Not using GitHub "submodules" - it looks pretty involved, so should hold
off until some suggestions can be made to the pkgsrc project. Instead uses
the bundled tarball.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6be3c0de022e7f26a5aa6e86795a5b22f40ab320

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 freebayes/Makefile | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diffs:
diff --git a/freebayes/Makefile b/freebayes/Makefile
index c9b5293446..87772cc6a9 100644
--- a/freebayes/Makefile
+++ b/freebayes/Makefile
@@ -15,12 +15,10 @@ USE_LANGUAGES=	c c++
 USE_LIBTOOL=	yes
 USE_TOOLS+=	gmake
 
-MAKE_JOBS_SAFE=	no
+CFLAGS+=	-msse2
+CXXFLAGS+=	-std=c++11
 
-#SUBST_CLASSES+=           compile
-#SUBST_FILES.compile=      ${WRKSRC}/src/Makefile.external-libs
-#SUBST_STAGE.compile=      post-patch
-#SUBST_SED.compile+=       -e "s|-lm|-lm ${COMPILER_RPATH_FLAG}${PREFIX}/lib|g"
+MAKE_JOBS_SAFE=	no
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -30,6 +28,10 @@ MAKE_FLAGS=	EXTRALIBS=${COMPILER_RPATH_FLAG}${PREFIX}/lib
 MAKE_FLAGS+=	EXTRALIBS=${COMPILER_RPATH_FLAG}${PREFIX}/lib
 .endif
 
+.if ${MACHINE_ARCH} == i386
+CFLAGS+=	-msse2
+.endif
+
 INSTALLATION_DIRS+=	bin
 
 do-install:


Home | Main Index | Thread Index | Old Index