From ff44a5ac39b9b00c0cb046e92f2ca3ccf43c0480 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Sun, 5 Oct 2014 19:03:12 +0000 Subject: [PATCH] - Add USES=libtool and INSTALL_TARGET=install-strip - Remove pthread patching --- misc/chmlib/Makefile | 7 +++---- misc/chmlib/files/patch-ltmain.sh | 15 --------------- misc/chmlib/pkg-plist | 1 + 3 files changed, 4 insertions(+), 19 deletions(-) delete mode 100644 misc/chmlib/files/patch-ltmain.sh diff --git a/misc/chmlib/Makefile b/misc/chmlib/Makefile index c36d5b08ebc1..6b6253032bcb 100644 --- a/misc/chmlib/Makefile +++ b/misc/chmlib/Makefile @@ -3,18 +3,17 @@ PORTNAME= chmlib PORTVERSION= 0.40 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= http://www.jedrea.com/chmlib/ MAINTAINER= fluffy@FreeBSD.org COMMENT= Library for dealing with Microsoft ITSS/CHM format files -USES= gmake tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-io64 --disable-pread --exec-prefix=${PREFIX} --disable-static --enable-examples +INSTALL_TARGET= install-strip +USES= gmake libtool tar:bzip2 USE_LDCONFIG= yes -post-patch: - @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS}," ${WRKSRC}/configure - .include diff --git a/misc/chmlib/files/patch-ltmain.sh b/misc/chmlib/files/patch-ltmain.sh deleted file mode 100644 index 5f174e7276db..000000000000 --- a/misc/chmlib/files/patch-ltmain.sh +++ /dev/null @@ -1,15 +0,0 @@ ---- ltmain.sh.orig Mon Jun 19 09:26:24 2006 -+++ ltmain.sh Mon Jun 19 09:26:40 2006 -@@ -2077,10 +2077,12 @@ - fi - - # Install the pseudo-library for information purposes. -+ if /usr/bin/false ; then - func_basename "$file" - name="$func_basename_result" - instname="$dir/$name"i - func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' -+ fi - - # Maybe install the static library, too. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/misc/chmlib/pkg-plist b/misc/chmlib/pkg-plist index b6a415660e6f..9821304aa00b 100644 --- a/misc/chmlib/pkg-plist +++ b/misc/chmlib/pkg-plist @@ -7,3 +7,4 @@ include/chm_lib.h include/lzx.h lib/libchm.so lib/libchm.so.0 +lib/libchm.so.0.0.0