Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Aug 2014 15:15:23 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365193 - head/graphics/Coin
Message-ID:  <201408171515.s7HFFNG4061039@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Sun Aug 17 15:15:23 2014
New Revision: 365193
URL: http://svnweb.freebsd.org/changeset/ports/365193
QAT: https://qat.redports.org/buildarchive/r365193/

Log:
  Teach 'coin-config --ldflags' to use -Wl,-rpath,/usr/local/lib instead
  of -R/usr/local/lib.
  
  This is required on -current but should work fine elsewhere.

Modified:
  head/graphics/Coin/Makefile

Modified: head/graphics/Coin/Makefile
==============================================================================
--- head/graphics/Coin/Makefile	Sun Aug 17 14:27:03 2014	(r365192)
+++ head/graphics/Coin/Makefile	Sun Aug 17 15:15:23 2014	(r365193)
@@ -3,7 +3,7 @@
 
 PORTNAME=	Coin
 PORTVERSION=	3.1.3
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	graphics
 MASTER_SITES=	https://bitbucket.org/Coin3D/coin/downloads/
 
@@ -29,4 +29,7 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|DATA install-data-local|DATA|g' ${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
 
+post-build:
+	@${REINPLACE_CMD} -e '/^ldflags=/s|-R|-Wl,-rpath,|' ${WRKSRC}/coin-default.cfg
+
 .include <bsd.port.mk>



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