mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
Upgrade to 0.3.1 to unbreak with recent GCC.
Reported by: kris Approved by: portmgr (krion, will), fjoe (mentor, implicit)
This commit is contained in:
parent
020cd99802
commit
c545d87f45
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118561
@ -5,7 +5,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= evolvotron
|
||||
PORTVERSION= 0.2.3
|
||||
PORTVERSION= 0.3.1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -28,14 +28,9 @@ MAKE_ENV= QTDIR="${QT_PREFIX}" \
|
||||
CONFIGURE_ENV= QTDIR="${QT_PREFIX}" \
|
||||
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 502126
|
||||
BROKEN= "Does not compile on FreeBSD >= 5.x"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/' ${WRKSRC}/common.pro
|
||||
@${REINPLACE_CMD} -e 's,bin/bash,bin/sh,' ${WRKSRC}/configure
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron/evolvotron ${PREFIX}/bin
|
||||
@ -46,4 +41,4 @@ do-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/evolvotron.html ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (evolvotron-0.2.3.tar.gz) = 515461d06f247a54d810ed4178eed26c
|
||||
SIZE (evolvotron-0.2.3.tar.gz) = 152602
|
||||
MD5 (evolvotron-0.3.1.tar.gz) = e6c8404d7c454283fb5d8f00ec0c2761
|
||||
SIZE (evolvotron-0.3.1.tar.gz) = 129201
|
||||
|
@ -1,18 +1,18 @@
|
||||
--- common.pro.orig Mon Nov 3 09:40:15 2003
|
||||
+++ common.pro Mon Dec 1 03:16:47 2003
|
||||
@@ -29,8 +29,6 @@
|
||||
@@ -29,32 +29,12 @@
|
||||
# Now leaving these ON for general distribution as they DO have SOME effect
|
||||
# (or at least they have in the past... see the README), and should be portable.
|
||||
|
||||
# NB Switching on -funroll-loops causes some versions of gcc to segv
|
||||
-QMAKE_CXXFLAGS_RELEASE -= -O2
|
||||
-QMAKE_CXXFLAGS_RELEASE += -O3 -fomit-frame-pointer -funroll-loops -ffast-math
|
||||
-QMAKE_CXXFLAGS_RELEASE += -O3 -fomit-frame-pointer -ffast-math
|
||||
|
||||
##################
|
||||
# Architecture specific optimisations
|
||||
@@ -38,23 +36,6 @@
|
||||
# The following architecture options make the compiled executables less portable.
|
||||
# (On a different setup you may need to change what's subtracted out of the flags.)
|
||||
# NB -march=X implies -mcpu=X... no need to specify both the same
|
||||
|
||||
-
|
||||
-contains(CONFIG_OPTS, p4 ){
|
||||
- QMAKE_CXXFLAGS_RELEASE -= -march=i386 -mcpu=i686
|
||||
- QMAKE_CXXFLAGS_RELEASE += -march=pentium4 -mfpmath=sse -msse2
|
||||
@ -33,12 +33,3 @@
|
||||
|
||||
##################
|
||||
# Optimisation insanity
|
||||
@@ -67,7 +48,7 @@
|
||||
#######################################
|
||||
# Version numbering. This is ENTIRELY controlled by what is echoed by the VERSION script
|
||||
|
||||
-VERSION_NUMBER = $${system(../VERSION)}
|
||||
+VERSION_NUMBER = $${system(./VERSION)}
|
||||
QMAKE_CXXFLAGS_RELEASE += '-DEVOLVOTRON_VERSION="$$VERSION_NUMBER"'
|
||||
QMAKE_CXXFLAGS_DEBUG += '-DEVOLVOTRON_VERSION="$$VERSION_NUMBER"'
|
||||
QMAKE_CXXFLAGS_RELEASE += '-DEVOLVOTRON_BUILD="$$VERSION_NUMBER (Build options: $$BUILD_INFO Release)"'
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- libevolvotron/dialog_mutation_parameters.h.orig Mon Dec 1 03:09:32 2003
|
||||
+++ libevolvotron/dialog_mutation_parameters.h Mon Dec 1 03:10:15 2003
|
||||
@@ -23,6 +23,7 @@
|
||||
#ifndef _dialog_mutation_parameters_h_
|
||||
#define _dialog_mutation_parameters_h_
|
||||
|
||||
+#include <time.h>
|
||||
#include <qdialog.h>
|
||||
#include <qvbox.h>
|
||||
#include <qgrid.h>
|
@ -1,10 +0,0 @@
|
||||
--- libevolvotron/matrix.cpp.orig Mon Dec 1 03:12:54 2003
|
||||
+++ libevolvotron/matrix.cpp Mon Dec 1 03:13:12 2003
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "random.h"
|
||||
|
||||
#include <iostream>
|
||||
+#include <time.h>
|
||||
|
||||
//! Test code
|
||||
void testmatrix_extract_runtime(Matrix<2,2,float>& m_out,const Matrix<3,3,float>& m_in)
|
Loading…
x
Reference in New Issue
Block a user