aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2022-07-14 14:07:34 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2022-07-18 17:52:11 +0000
commit79e033e52533771ec6d8a3b114c8ae19a37d12d6 (patch)
treeb23dc8bb697a72795af33f0777f27568e5afc995
parent1035e88e5d63579637ee1d5706361d5489e2f755 (diff)
downloadports-79e033e52533771ec6d8a3b114c8ae19a37d12d6.tar.gz
ports-79e033e52533771ec6d8a3b114c8ae19a37d12d6.zip
print/freetype2: Do not add debug suffix to shared libraries
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
-rw-r--r--print/freetype2/Makefile3
-rw-r--r--print/freetype2/pkg-plist6
2 files changed, 5 insertions, 4 deletions
diff --git a/print/freetype2/Makefile b/print/freetype2/Makefile
index fa4829002572..d758808ef48b 100644
--- a/print/freetype2/Makefile
+++ b/print/freetype2/Makefile
@@ -2,6 +2,7 @@
PORTNAME= freetype2
DISTVERSION= 2.12.1
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= SAVANNAH/${PORTNAME:S/2//} \
SF/freetype/${PORTNAME}/${DISTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/}/
@@ -24,13 +25,13 @@ CPE_VENDOR= freetype
USE_LDCONFIG= yes
CMAKE_ON= BUILD_SHARED_LIBS \
+ DISABLE_FORCE_DEBUG_POSTFIX \
FT_REQUIRE_BZIP2 \
FT_REQUIRE_ZLIB \
FT_DISABLE_HARFBUZZ
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 6de2d4855311..7993dcdbed10 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%%DEBUG_SUFFIX%%.so
-lib/libfreetype%%DEBUG_SUFFIX%%.so.6
-lib/libfreetype%%DEBUG_SUFFIX%%.so.6.18.3
+lib/libfreetype.so
+lib/libfreetype.so.6
+lib/libfreetype.so.6.18.3
libdata/pkgconfig/freetype2.pc