aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2003-09-30 17:30:50 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2003-09-30 17:30:50 +0000
commit1e7c4b7de5bbbe7b02880deac27098d500615bef (patch)
treeb35d7262fb68d69c008f9b355825dfe6ac4d512b
parenta2b303d7e45f0d32b44015523eb920ca22ab5df8 (diff)
downloadports-1e7c4b7de5bbbe7b02880deac27098d500615bef.tar.gz
ports-1e7c4b7de5bbbe7b02880deac27098d500615bef.zip
Add patch-configure, install static library, bump PORTREVISION.
PR: 57360 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=89910
-rw-r--r--textproc/wv2/Makefile4
-rw-r--r--textproc/wv2/files/patch-configure10
-rw-r--r--textproc/wv2/pkg-plist1
3 files changed, 14 insertions, 1 deletions
diff --git a/textproc/wv2/Makefile b/textproc/wv2/Makefile
index b96f4723d680..d8e1ecd133d6 100644
--- a/textproc/wv2/Makefile
+++ b/textproc/wv2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= wv2
PORTVERSION= 0.1.8
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= wvware
@@ -20,12 +21,13 @@ CONFIGURE_ARGS= --with-libiconv=${LOCALBASE}
USE_GNOME= gnometarget libgsf
USE_LIBTOOL= yes
+LIBTOOLFLAGS= # none, we want to keep libwv2.la
USE_BZIP2= yes
USE_GMAKE= yes
INSTALLS_SHLIB= yes
USE_REINPLACE= yes
-post-extract:
+pre-configure:
@${TOUCH} ${WRKSRC}/config.h.in
@${REINPLACE_CMD} "s,-pedantic ,," ${WRKSRC}/configure
diff --git a/textproc/wv2/files/patch-configure b/textproc/wv2/files/patch-configure
new file mode 100644
index 000000000000..4944b18fc326
--- /dev/null
+++ b/textproc/wv2/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Tue Sep 30 19:15:34 2003
++++ configure Tue Sep 30 19:17:27 2003
+@@ -10116,6 +10116,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'
diff --git a/textproc/wv2/pkg-plist b/textproc/wv2/pkg-plist
index 4d656dd997fa..bd0d89b3e2e9 100644
--- a/textproc/wv2/pkg-plist
+++ b/textproc/wv2/pkg-plist
@@ -22,6 +22,7 @@ include/wv2/utilities.h
include/wv2/word95_generated.h
include/wv2/word97_generated.h
include/wv2/word_helper.h
+lib/libwv2.a
lib/libwv2.la
lib/libwv2.so
lib/libwv2.so.1