aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2022-07-04 19:33:40 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2022-07-06 20:00:41 +0000
commita6e35a18d07015a37b858c82cabe136c27f92f3a (patch)
treed86d5c36241bf46fe0235fa69d7765333026d8c2
parent0ee16d4291a0343b2e5fd6c4561fc7afca89e1db (diff)
downloadports-a6e35a18d07015a37b858c82cabe136c27f92f3a.tar.gz
ports-a6e35a18d07015a37b858c82cabe136c27f92f3a.zip
print/freetype2: Handle WITH_DEBUG plist changes
PR: 264457 Reported by: Marcin CieĊ›lak <saper@saper.info> Approved by: desktop (tcberner) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D35712#810587
-rw-r--r--print/freetype2/Makefile1
-rw-r--r--print/freetype2/pkg-plist6
2 files changed, 4 insertions, 3 deletions
diff --git a/print/freetype2/Makefile b/print/freetype2/Makefile
index 95083ef1f053..fa4829002572 100644
--- a/print/freetype2/Makefile
+++ b/print/freetype2/Makefile
@@ -30,6 +30,7 @@ CMAKE_ON= BUILD_SHARED_LIBS \
SUB_FILES= pkg-message
+PLIST_SUB= DEBUG_SUFFIX=${WITH_DEBUG:Dd}
PORTDOCS= CHANGES FTL.TXT formats.txt raster.txt reference
OPTIONS_DEFINE= BROTLI DEBUG DOCS LONG_PCF_NAMES PNG TABLE_VALIDATION
diff --git a/print/freetype2/pkg-plist b/print/freetype2/pkg-plist
index 7993dcdbed10..6de2d4855311 100644
--- a/print/freetype2/pkg-plist
+++ b/print/freetype2/pkg-plist
@@ -58,7 +58,7 @@ include/freetype2/ft2build.h
lib/cmake/freetype/freetype-config-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/freetype/freetype-config-version.cmake
lib/cmake/freetype/freetype-config.cmake
-lib/libfreetype.so
-lib/libfreetype.so.6
-lib/libfreetype.so.6.18.3
+lib/libfreetype%%DEBUG_SUFFIX%%.so
+lib/libfreetype%%DEBUG_SUFFIX%%.so.6
+lib/libfreetype%%DEBUG_SUFFIX%%.so.6.18.3
libdata/pkgconfig/freetype2.pc