aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-08-18 17:27:49 +0800
committerijliao <ijliao@FreeBSD.org>2001-08-18 17:27:49 +0800
commit69fcc394fd4413fbf59d7843e493bb47c9422f10 (patch)
treeb20e3679e6d790d57edd1c83e8823d265dd02c36 /textproc
parent77fcbacf0fdc5680ed94726c7ccf04fcb2b1f2ca (diff)
downloadfreebsd-ports-gnome-69fcc394fd4413fbf59d7843e493bb47c9422f10.tar.gz
freebsd-ports-gnome-69fcc394fd4413fbf59d7843e493bb47c9422f10.tar.zst
freebsd-ports-gnome-69fcc394fd4413fbf59d7843e493bb47c9422f10.zip
- Fix pkg-plist
- Remove USE_AUTOMAKE PR: 29825 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/minidom/Makefile12
-rw-r--r--textproc/minidom/files/patch-configure.in19
-rw-r--r--textproc/minidom/pkg-plist1
3 files changed, 5 insertions, 27 deletions
diff --git a/textproc/minidom/Makefile b/textproc/minidom/Makefile
index 16079478ec83..69e1c04d7cca 100644
--- a/textproc/minidom/Makefile
+++ b/textproc/minidom/Makefile
@@ -16,17 +16,15 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 \
giconv:${PORTSDIR}/converters/libiconv
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
USE_GLIB= yes
USE_LIBTOOL= yes
-USE_AUTOCONF= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-libxml2=yes
INSTALLS_SHLIB= yes
post-patch:
- @${PERL} -pi -e "s,-lglib,-lglib12,g ; \
- s,glib-config,${GLIB_CONFIG},g" ${WRKSRC}/configure.in
+ @${PERL} -pi -e 's|-lglib|-lglib12|g ; \
+ s|glib-config|${GLIB_CONFIG}|g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/textproc/minidom/files/patch-configure.in b/textproc/minidom/files/patch-configure.in
deleted file mode 100644
index 6143c3e2dc94..000000000000
--- a/textproc/minidom/files/patch-configure.in
+++ /dev/null
@@ -1,19 +0,0 @@
---- configure.in.orig Sun May 6 20:34:59 2001
-+++ configure.in Tue Aug 14 01:09:25 2001
-@@ -27,7 +27,7 @@
- AC_PROG_RANLIB
-
- dnl Checks for libraries.
--AC_CHECK_LIB(glib, g_malloc,
-+AC_CHECK_LIB(glib12, g_malloc,
- [
- CFLAGS="$CFLAGS `glib-config --cflags`"
- CXXFLAGS="$CXXFLAGS `glib-config --cflags`"
-@@ -38,7 +38,6 @@
- )
-
- AC_CHECK_PROG(XML_CONFIG, xml2-config, xml2-config)
--AC_CHECK_PROG(XML_CONFIG, xml-config, xml-config, no)
- AC_SUBST(XML_CONFIG)
-
- if test $XML_CONFIG = "no"; then
diff --git a/textproc/minidom/pkg-plist b/textproc/minidom/pkg-plist
index 353d2564acd1..100342b4a747 100644
--- a/textproc/minidom/pkg-plist
+++ b/textproc/minidom/pkg-plist
@@ -1,7 +1,6 @@
bin/minidom-config
include/minidom/minidom.h
lib/libminidom.a
-lib/libminidom.la
lib/libminidom.so
lib/libminidom.so.1
@dirrm include/minidom