aboutsummaryrefslogtreecommitdiff
path: root/textproc/expat2
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2005-06-05 14:17:52 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2005-06-05 14:17:52 +0000
commit0c252d2a177b6bf545cd1b3832b7c6fd84efbb30 (patch)
tree9a6a2ed4fbdba8293f1cc16f9d8a3730d23390a0 /textproc/expat2
parent8b52055a8ca477a8ca93eeb2f8ed68833b19a4f0 (diff)
downloadports-0c252d2a177b6bf545cd1b3832b7c6fd84efbb30.tar.gz
ports-0c252d2a177b6bf545cd1b3832b7c6fd84efbb30.zip
Avoid linking with libc.so (for supporting PTHREAD_LIBS
correctly on 4-stable). Submitted by: KATO Tsuguru <tkato432@yahoo.com> PR: ports/81730
Notes
Notes: svn path=/head/; revision=136826
Diffstat (limited to 'textproc/expat2')
-rw-r--r--textproc/expat2/Makefile7
-rw-r--r--textproc/expat2/files/patch-configure10
2 files changed, 5 insertions, 12 deletions
diff --git a/textproc/expat2/Makefile b/textproc/expat2/Makefile
index 37a45c4f7662..6f717c257fe0 100644
--- a/textproc/expat2/Makefile
+++ b/textproc/expat2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= expat
PORTVERSION= 1.95.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= expat
@@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR= expat
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= XML 1.0 parser written in C
-USE_INC_LIBTOOL_VER=15
+USE_LIBTOOL_VER=15
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
ALL_TARGET= default
INSTALLS_SHLIB= yes
@@ -27,6 +27,9 @@ MAKE_ENV= LIBCURRENT="${SHLIB_MAJOR}" \
SHELL="/bin/sh"
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/.libs/libexpat.la ${PREFIX}/lib
+
list-depend-ports:
cd ${PORTSDIR}; \
find . -mindepth 3 -maxdepth 3 -name Makefile -execdir sh -c \
diff --git a/textproc/expat2/files/patch-configure b/textproc/expat2/files/patch-configure
index 9a6a809b219b..e69de29bb2d1 100644
--- a/textproc/expat2/files/patch-configure
+++ b/textproc/expat2/files/patch-configure
@@ -1,10 +0,0 @@
---- configure.orig Tue Jun 4 04:12:02 2002
-+++ configure Sat Jun 29 12:58:20 2002
-@@ -6824,6 +6824,7 @@
-
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
-
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'