Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2021 18:35:47 GMT
From:      =?utf-8?Q?Lo=C3=AFc Bartoletti?= <lbartoletti@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: eb61d0c516bd - main - databases/sfcgal: unbreak the port's build against WITH_DEBUG
Message-ID:  <202112101835.1BAIZlYk049654@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by lbartoletti:

URL: https://cgit.FreeBSD.org/ports/commit/?id=eb61d0c516bdab7f0e49605a5efaf7e2f354895e

commit eb61d0c516bdab7f0e49605a5efaf7e2f354895e
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2021-12-10 18:12:03 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2021-12-10 18:12:38 +0000

    databases/sfcgal: unbreak the port's build against WITH_DEBUG
---
 databases/sfcgal/Makefile  | 3 ++-
 databases/sfcgal/pkg-plist | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/databases/sfcgal/Makefile b/databases/sfcgal/Makefile
index e98a2907145e..35a4e462d405 100644
--- a/databases/sfcgal/Makefile
+++ b/databases/sfcgal/Makefile
@@ -3,6 +3,7 @@
 PORTNAME=	sfcgal
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.4.0
+PORTREVISION=	1
 CATEGORIES=	databases math graphics
 
 MAINTAINER=	lbartoletti@FreeBSD.org
@@ -23,6 +24,6 @@ GL_PROJECT=	SFCGAL
 GL_COMMIT=	815d5097f684dbc48b22041bf2047beab36df0a1
 USE_LDCONFIG=	yes
 
-PLIST_SUB=	SHL3=${PORTVERSION} SHL1=${PORTVERSION:R:R}
+PLIST_SUB=	SHL3=${PORTVERSION} SHL1=${PORTVERSION:R:R} DEBUG_SUFFIX=${WITH_DEBUG:Dd}
 
 .include <bsd.port.mk>
diff --git a/databases/sfcgal/pkg-plist b/databases/sfcgal/pkg-plist
index 62420bb598d7..25773cd84127 100644
--- a/databases/sfcgal/pkg-plist
+++ b/databases/sfcgal/pkg-plist
@@ -104,7 +104,7 @@ include/SFCGAL/numeric.h
 include/SFCGAL/triangulate/triangulate2DZ.h
 include/SFCGAL/triangulate/triangulatePolygon.h
 include/SFCGAL/version.h
-lib/libSFCGAL.so
-lib/libSFCGAL.so.%%SHL1%%
-lib/libSFCGAL.so.%%SHL3%%
+lib/libSFCGAL%%DEBUG_SUFFIX%%.so
+lib/libSFCGAL%%DEBUG_SUFFIX%%.so.%%SHL1%%
+lib/libSFCGAL%%DEBUG_SUFFIX%%.so.%%SHL3%%
 libdata/pkgconfig/sfcgal.pc



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