Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2019 18:06:21 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491374 - head/textproc/uchardet
Message-ID:  <201901271806.x0RI6L7P054167@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Jan 27 18:06:21 2019
New Revision: 491374
URL: https://svnweb.freebsd.org/changeset/ports/491374

Log:
  textproc/uchardet: Fix packaging error when WITH_DEBUG is set
  
  PR:		235235
  Reported by:	novel

Modified:
  head/textproc/uchardet/Makefile
  head/textproc/uchardet/pkg-plist

Modified: head/textproc/uchardet/Makefile
==============================================================================
--- head/textproc/uchardet/Makefile	Sun Jan 27 17:57:42 2019	(r491373)
+++ head/textproc/uchardet/Makefile	Sun Jan 27 18:06:21 2019	(r491374)
@@ -18,4 +18,10 @@ USE_LDCONFIG=	yes
 
 CMAKE_ARGS=	-DCMAKE_INSTALL_MANDIR:PATH=${MANPREFIX}/man
 
+.if defined(WITH_DEBUG)
+PLIST_SUB+=	VERSION_SIFFIX=".debug"
+.else
+PLIST_SUB+=	VERSION_SIFFIX=""
+.endif
+
 .include <bsd.port.mk>

Modified: head/textproc/uchardet/pkg-plist
==============================================================================
--- head/textproc/uchardet/pkg-plist	Sun Jan 27 17:57:42 2019	(r491373)
+++ head/textproc/uchardet/pkg-plist	Sun Jan 27 18:06:21 2019	(r491374)
@@ -3,6 +3,6 @@ include/uchardet/uchardet.h
 lib/libuchardet.a
 lib/libuchardet.so
 lib/libuchardet.so.0
-lib/libuchardet.so.0.0.6
+lib/libuchardet.so.0.0.6%%VERSION_SIFFIX%%
 libdata/pkgconfig/uchardet.pc
 man/man1/uchardet.1.gz



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