Skip to content

Commit

Permalink
print/freetype2: Do not add debug suffix to shared libraries
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Jehops committed Jul 18, 2022
1 parent 1035e88 commit 79e033e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion print/freetype2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/}/
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions print/freetype2/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 79e033e

Please sign in to comment.