aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2003-10-01 01:30:50 +0800
committerlofi <lofi@FreeBSD.org>2003-10-01 01:30:50 +0800
commitbfb542ad19a5ab6fc14c7ad39dc3ccc888e73a93 (patch)
tree5199038eccbf2ec3c03a360d1c7df0e9d112d5dd
parent33537fb6a76fff3e39387e04bbe50ef0f434080d (diff)
downloadfreebsd-ports-graphics-bfb542ad19a5ab6fc14c7ad39dc3ccc888e73a93.tar.gz
freebsd-ports-graphics-bfb542ad19a5ab6fc14c7ad39dc3ccc888e73a93.tar.zst
freebsd-ports-graphics-bfb542ad19a5ab6fc14c7ad39dc3ccc888e73a93.zip
Add patch-configure, install static library, bump PORTREVISION.
PR: 57360 Submitted by: KATO Tsuguru <tkato@prontomail.com>
-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 b96f4723d68..d8e1ecd133d 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 00000000000..4944b18fc32
--- /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 4d656dd997f..bd0d89b3e2e 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