Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2009 04:51:18 +0300 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gahr@FreeBSD.org
Subject:   ports/132833: [PATCH] graphics/aqsis: prepare for upcoming boost 1.37.0 and fix build on CURRENT
Message-ID:  <20090320015118.63FA8108839@hades.panopticon>
Resent-Message-ID: <200903200200.n2K201Id034316@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         132833
>Category:       ports
>Synopsis:       [PATCH] graphics/aqsis: prepare for upcoming boost 1.37.0 and fix build on CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 20 02:00:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Feb 10 23:56:47 MSK 2009
>Description:
- add CMAKE_USE_PTHREAD to build with upcoming boost 1.37 (seems like it only fails on 6.x) (see http://wiki.freebsd.org/BoostPortingProject)
- fix build on CURRENT by removing extra CUSTOM_TARGET in the CMakeLists.txt that makes a file depend on itself (not sure why it only shows itself on CURRENT though)

Port maintainer (gahr@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- aqsis-1.4.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/graphics/aqsis/Makefile,v
retrieving revision 1.33
diff -u -u -r1.33 Makefile
--- Makefile	10 Dec 2008 07:35:16 -0000	1.33
+++ Makefile	20 Mar 2009 00:01:59 -0000
@@ -33,6 +33,7 @@
 		-DAQSIS_FLTK_INCLUDE_DIR:PATH=${LOCALBASE}/include \
 		-DAQSIS_FLTK_LIBRARIES:FILEPATH=${LOCALBASE}/lib/libfltk.so \
 		-DAQSIS_FLTK_LIBRARIES_DIR:PATH=${LOCALBSAE}/lib
+CMAKE_USE_PTHREAD=	yes
 
 USE_LDCONFIG=	yes
 USE_CMAKE=	yes
Index: files/patch-CMakeLists.txt
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/graphics/aqsis/files/patch-CMakeLists.txt,v
retrieving revision 1.1
diff -u -u -r1.1 patch-CMakeLists.txt
--- files/patch-CMakeLists.txt	21 Aug 2008 17:37:25 -0000	1.1
+++ files/patch-CMakeLists.txt	20 Mar 2009 01:21:11 -0000
@@ -1,5 +1,5 @@
---- CMakeLists.txt.orig	2008-08-21 01:09:19.000000000 +0200
-+++ CMakeLists.txt	2008-08-21 01:09:27.000000000 +0200
+--- CMakeLists.txt.orig	2008-09-23 15:02:27.000000000 +0400
++++ CMakeLists.txt	2009-03-20 04:21:11.000000000 +0300
 @@ -17,9 +17,6 @@
  
  INCLUDE(macros)
@@ -10,3 +10,13 @@
  # Find path to precompiled libs on windows.
  INCLUDE(FindWin32Libs)
  
+@@ -275,9 +272,6 @@
+ SET(PROCEDURALPATH "${PROCEDURALPATH}" CACHE STRING "Aqsis procedural searchpath")
+ SET(RESOURCEPATH "${RESOURCEPATH}" CACHE STRING "Aqsis resource searchpath")
+ CONFIGURE_FILE(aqsisrc.in.cmake ${PROJECT_BINARY_DIR}/aqsisrc)
+-ADD_CUSTOM_TARGET(aqsisrc ALL echo
+-	DEPENDS  ${PROJECT_BINARY_DIR}/aqsisrc
+-	)
+ INSTALL(FILES ${PROJECT_BINARY_DIR}/aqsisrc DESTINATION ${SYSCONFDIR})
+ 
+ 
--- aqsis-1.4.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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