mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
Remove all mi-induced bogons:
- Don't honour bogus MAKE_JOBS; - sort pkg-plist and remove bogus `@dirrm share/doc/ja/' from it; - remove useless USE_LIBTOOL.
This commit is contained in:
parent
4f4d37f239
commit
0c93669feb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46961
3 changed files with 24 additions and 17 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= libxml2
|
PORTNAME= libxml2
|
||||||
PORTVERSION= 2.4.3
|
PORTVERSION= 2.4.3
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= textproc gnome
|
CATEGORIES= textproc gnome
|
||||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||||
MASTER_SITE_SUBDIR= stable/sources/libxml
|
MASTER_SITE_SUBDIR= stable/sources/libxml
|
||||||
|
@ -17,12 +18,8 @@ BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
||||||
LIB_DEPENDS= giconv.2:${PORTSDIR}/converters/libiconv
|
LIB_DEPENDS= giconv.2:${PORTSDIR}/converters/libiconv
|
||||||
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
||||||
|
|
||||||
USE_LIBTOOL= yes
|
GNU_CONFIGURE= yes
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
MAKE_FLAGS+= LIBTOOL="${LIBTOOL}" -ELIBTOOL
|
|
||||||
.if defined(MAKE_JOBS)
|
|
||||||
MAKE_FLAGS+= AM_MAKEFLAGS=-j${MAKE_JOBS}
|
|
||||||
.endif
|
|
||||||
|
|
||||||
CONFIGURE_ARGS= --with-iconv \
|
CONFIGURE_ARGS= --with-iconv \
|
||||||
--with-html-dir=${PREFIX}/share/doc
|
--with-html-dir=${PREFIX}/share/doc
|
||||||
|
@ -35,15 +32,8 @@ MAN4= libxml.4
|
||||||
pre-patch:
|
pre-patch:
|
||||||
@find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
|
@find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
|
||||||
's|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g'
|
's|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g'
|
||||||
|
@cd ${WRKSRC} && ${PERL} -pi -e \
|
||||||
post-patch:
|
's|([^g])iconv.h|\1giconv.h|g ; s|-liconv|-lgiconv|g' \
|
||||||
@${PERL} -pi -e 's/([^g])iconv.h/\1giconv.h/g;' \
|
configure include/libxml/encoding.h
|
||||||
-e 's/-liconv/-lgiconv/g' ${WRKSRC}/${CONFIGURE_SCRIPT} \
|
|
||||||
${WRKSRC}/include/libxml/encoding.h
|
|
||||||
|
|
||||||
# If someone knows a better way to avoid this from even creeping into
|
|
||||||
# lib/ -- please, tell me... $Author$
|
|
||||||
post-install:
|
|
||||||
${RM} ${PREFIX}/lib/libxml2.la
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
18
textproc/libxml2/files/patch-ltmain.sh
Normal file
18
textproc/libxml2/files/patch-ltmain.sh
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
|
||||||
|
$FreeBSD$
|
||||||
|
|
||||||
|
--- ltmain.sh 2001/08/27 09:51:26 1.1
|
||||||
|
+++ ltmain.sh 2001/08/27 09:51:42
|
||||||
|
@@ -4175,10 +4175,12 @@
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Install the pseudo-library for information purposes.
|
||||||
|
+ if /usr/bin/false; then
|
||||||
|
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
|
||||||
|
instname="$dir/$name"i
|
||||||
|
$show "$install_prog $instname $destdir/$name"
|
||||||
|
$run eval "$install_prog $instname $destdir/$name" || exit $?
|
||||||
|
+ fi
|
||||||
|
|
||||||
|
# Maybe install the static library, too.
|
||||||
|
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
|
|
@ -1,6 +1,6 @@
|
||||||
bin/xml2-config
|
bin/xml2-config
|
||||||
bin/xmllint
|
|
||||||
bin/xmlcatalog
|
bin/xmlcatalog
|
||||||
|
bin/xmllint
|
||||||
etc/xml2Conf.sh
|
etc/xml2Conf.sh
|
||||||
include/libxml2/libxml/DOCBparser.h
|
include/libxml2/libxml/DOCBparser.h
|
||||||
include/libxml2/libxml/HTMLparser.h
|
include/libxml2/libxml/HTMLparser.h
|
||||||
|
@ -65,7 +65,6 @@ share/doc/libxml2/html/libxml-xpathinternals.html
|
||||||
share/doc/libxml2/html/libxml-xpointer.html
|
share/doc/libxml2/html/libxml-xpointer.html
|
||||||
share/doc/libxml2/html/structure.gif
|
share/doc/libxml2/html/structure.gif
|
||||||
share/doc/libxml2/html/xml.html
|
share/doc/libxml2/html/xml.html
|
||||||
@dirrm share/doc/ja/
|
|
||||||
@dirrm share/doc/libxml2/html
|
@dirrm share/doc/libxml2/html
|
||||||
@dirrm share/doc/libxml2
|
@dirrm share/doc/libxml2
|
||||||
@dirrm include/libxml2/libxml
|
@dirrm include/libxml2/libxml
|
||||||
|
|
Loading…
Add table
Reference in a new issue