Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2013 16:26:17 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328376 - in head/cad/meshdev: . files
Message-ID:  <201309261626.r8QGQHVN024518@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Thu Sep 26 16:26:17 2013
New Revision: 328376
URL: http://svnweb.freebsd.org/changeset/ports/328376

Log:
  - Fix on CURRENT [1]
  - Support STAGEDIR
  - Fix up CFLAGS
  
  Reported by:	pkg-fallout

Added:
  head/cad/meshdev/files/patch-src_MeshDev.h   (contents, props changed)
Modified:
  head/cad/meshdev/Makefile
  head/cad/meshdev/files/patch-build_Makefile.release.gcc

Modified: head/cad/meshdev/Makefile
==============================================================================
--- head/cad/meshdev/Makefile	Thu Sep 26 16:03:43 2013	(r328375)
+++ head/cad/meshdev/Makefile	Thu Sep 26 16:26:17 2013	(r328376)
@@ -10,6 +10,8 @@ MASTER_SITES=	${MASTER_SITE_LOCAL}/gahr/
 MAINTAINER=	gahr@FreeBSD.org
 COMMENT=	A mesh comparison software
 
+USE_DOS2UNIX=	src/MeshDev.h
+
 BUILD_WRKSRC=	${WRKSRC}/build
 INSTALL_WRKSRC=	${WRKSRC}/bin
 
@@ -17,8 +19,7 @@ MAKEFILE=	Makefile.release.gcc
 
 PLIST_FILES=	bin/${PORTNAME}
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Modified: head/cad/meshdev/files/patch-build_Makefile.release.gcc
==============================================================================
--- head/cad/meshdev/files/patch-build_Makefile.release.gcc	Thu Sep 26 16:03:43 2013	(r328375)
+++ head/cad/meshdev/files/patch-build_Makefile.release.gcc	Thu Sep 26 16:26:17 2013	(r328376)
@@ -1,13 +1,18 @@
---- build/Makefile.release.gcc.orig	2012-02-06 16:12:55.000000000 +0100
-+++ build/Makefile.release.gcc	2012-02-06 16:13:07.000000000 +0100
-@@ -2,7 +2,7 @@
+--- build/Makefile.release.gcc.orig	2012-02-06 14:04:02.000000000 +0100
++++ build/Makefile.release.gcc	2013-09-26 17:53:17.000000000 +0200
+@@ -1,10 +1,10 @@
+ # Project: MeshDev
  # Makefile created by Michaël Roy
  
- CXX  = g++
+-CXX  = g++
 -OBJ  = tmp/Deviation.o tmp/FileVrml1.o tmp/FileVrml2.o tmp/Mesh.o tmp/MeshDev.o tmp/Neighborhood.o tmp/Sample.o tmp/UniformGrid.o
++CXX  ?= g++
 +OBJ  = tmp/Deviation.o tmp/FileVrml1.o tmp/FileVrml2.o tmp/FileSTL.o tmp/Mesh.o tmp/MeshDev.o tmp/Neighborhood.o tmp/Sample.o tmp/UniformGrid.o
  BIN  = ../bin/meshdev
- CFLAGS += -DNDEBUG -Wall -W -ansi -pedantic -s -O2
+-CFLAGS += -DNDEBUG -Wall -W -ansi -pedantic -s -O2
++CFLAGS += -DNDEBUG -Wall -W -pedantic
+ 
+ .PHONY: all clean
  
 @@ -25,6 +25,9 @@
  tmp/FileVrml2.o: ../src/FileVrml2.cpp

Added: head/cad/meshdev/files/patch-src_MeshDev.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/meshdev/files/patch-src_MeshDev.h	Thu Sep 26 16:26:17 2013	(r328376)
@@ -0,0 +1,10 @@
+--- src/MeshDev.h.orig	2013-09-26 18:00:27.000000000 +0200
++++ src/MeshDev.h	2013-09-26 18:00:43.000000000 +0200
+@@ -30,7 +30,6 @@
+ // C Standard Library
+ #include <math.h>		// sqrt, ceil
+ #include <stdlib.h>		// EXIT_SUCCESS, EXIT_FAILURE
+-#include <sys/timeb.h>	// timeb, ftime
+ #include <time.h>	    // time
+ 
+ // Use C++ Standard Library namespace



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309261626.r8QGQHVN024518>