aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-10-06 03:03:12 +0800
committertijl <tijl@FreeBSD.org>2014-10-06 03:03:12 +0800
commitbce70fb6549f1488ab261e0a34975b7a342230be (patch)
treeec4081aa9981ed6ce820e8a324f3d99814acdbf2 /misc
parentbd12d4cdd6b5e26f33e80ad64a2cf6b79947b3f8 (diff)
downloadfreebsd-ports-gnome-bce70fb6549f1488ab261e0a34975b7a342230be.tar.gz
freebsd-ports-gnome-bce70fb6549f1488ab261e0a34975b7a342230be.tar.zst
freebsd-ports-gnome-bce70fb6549f1488ab261e0a34975b7a342230be.zip
- Add USES=libtool and INSTALL_TARGET=install-strip
- Remove pthread patching
Diffstat (limited to 'misc')
-rw-r--r--misc/chmlib/Makefile7
-rw-r--r--misc/chmlib/files/patch-ltmain.sh15
-rw-r--r--misc/chmlib/pkg-plist1
3 files changed, 4 insertions, 19 deletions
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 <bsd.port.mk>
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