aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2005-06-05 22:17:52 +0800
committerkuriyama <kuriyama@FreeBSD.org>2005-06-05 22:17:52 +0800
commitcc7de94a409972e0c5dd45147f05b2462e249cbb (patch)
treeff4efb2ddbceb92f1ca0fb85ff4a1f3946d8787f
parent88aa316a8148646efbbbd62f49fa4ddf46a3fd6d (diff)
downloadfreebsd-ports-gnome-cc7de94a409972e0c5dd45147f05b2462e249cbb.tar.gz
freebsd-ports-gnome-cc7de94a409972e0c5dd45147f05b2462e249cbb.tar.zst
freebsd-ports-gnome-cc7de94a409972e0c5dd45147f05b2462e249cbb.zip
Avoid linking with libc.so (for supporting PTHREAD_LIBS
correctly on 4-stable). Submitted by: KATO Tsuguru <tkato432@yahoo.com> PR: ports/81730
-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'