aboutsummaryrefslogtreecommitdiff
path: root/textproc/libxode
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-12-21 09:25:48 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-12-21 09:25:48 +0000
commitbead73da3e147090707d1496dd30ac7780c326a4 (patch)
tree4399efcf07b21dea5456a82db8d5a08f9b0e8e93 /textproc/libxode
parent1eb2a1daa4e95ff5bb9178a88a78e4c20560e8ac (diff)
downloadports-bead73da3e147090707d1496dd30ac7780c326a4.tar.gz
ports-bead73da3e147090707d1496dd30ac7780c326a4.zip
Notes
Diffstat (limited to 'textproc/libxode')
-rw-r--r--textproc/libxode/Makefile7
-rw-r--r--textproc/libxode/files/patch-src::Makefile.in33
-rw-r--r--textproc/libxode/pkg-plist2
3 files changed, 39 insertions, 3 deletions
diff --git a/textproc/libxode/Makefile b/textproc/libxode/Makefile
index 88a13d4d11cd..748d7e7d35cf 100644
--- a/textproc/libxode/Makefile
+++ b/textproc/libxode/Makefile
@@ -8,13 +8,18 @@
PORTNAME= libxode
PORTVERSION= 0.71
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
-GNU_CONFIGURE= yes
+#LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2
+
+USE_LIBTOOL= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
.include <bsd.port.mk>
diff --git a/textproc/libxode/files/patch-src::Makefile.in b/textproc/libxode/files/patch-src::Makefile.in
new file mode 100644
index 000000000000..79b7766473c4
--- /dev/null
+++ b/textproc/libxode/files/patch-src::Makefile.in
@@ -0,0 +1,33 @@
+--- src/Makefile.in.orig Wed Apr 25 02:10:45 2001
++++ src/Makefile.in Mon Dec 16 21:47:11 2002
+@@ -72,17 +72,16 @@
+ RANLIB = @RANLIB@
+ VERSION = @VERSION@
+
+-INCLUDES = -I$(top_builddir)/include -Iexpat/lib -Iexpat
+-SUBDIRS = expat
++INCLUDES = -I$(top_builddir)/include
+
+ lib_LTLIBRARIES = libxode.la
+
+ libxode_la_SOURCES = snprintf.c pool.c xode.c str.c xstream.c xode_from.c
+
+
+-libxode_la_LIBADD = expat/xmlparse.lo expat/xmlrole.lo expat/xmltok.lo
++libxode_la_LIBADD = -lexpat
+
+-CFLAGS = -Wall -g
++CFLAGS = @CFLAGS@
+
+ libxode_la_LDFLAGS = -version-info 2:0:1
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+@@ -95,8 +94,7 @@
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+-libxode_la_DEPENDENCIES = expat/xmlparse.lo expat/xmlrole.lo \
+-expat/xmltok.lo
++libxode_la_DEPENDENCIES =
+ libxode_la_OBJECTS = snprintf.lo pool.lo xode.lo str.lo xstream.lo \
+ xode_from.lo
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
diff --git a/textproc/libxode/pkg-plist b/textproc/libxode/pkg-plist
index 0ef5b248bd42..be966cdf9cbf 100644
--- a/textproc/libxode/pkg-plist
+++ b/textproc/libxode/pkg-plist
@@ -1,7 +1,5 @@
bin/libxode-config
-include/expat.h
include/libxode.h
lib/libxode.a
-lib/libxode.la
lib/libxode.so
lib/libxode.so.2