mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
Fix build with NOPORTDOCS
Note that the port was updated to 4.0.12 in previous commit
This commit is contained in:
parent
b4db9e33c9
commit
cd9bf18632
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264461
@ -18,7 +18,7 @@ LIB_DEPENDS= icuuc:${PORTSDIR}/devel/icu
|
||||
USE_ICONV= yes
|
||||
USE_OPENSSL= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GNOME= libxml2 libxslt
|
||||
USE_GNOME= libxml2 libxslt gnomehack
|
||||
USE_LDCONFIG= yes
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
@ -33,11 +33,8 @@ MAN1= yaz-asncomp.1 yaz-client.1 yaz-iconv.1 \
|
||||
MAN7= bib1-attr.7 yaz-log.7 yaz.7
|
||||
MAN8= yaz-config.8 yaz-ztest.8
|
||||
|
||||
post-patch:
|
||||
.if defined(NOPORTDOCS)
|
||||
@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's/%%DOC%%//' Makefile.in
|
||||
.else
|
||||
@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's/%%DOC%%/doc/' Makefile.in
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-doc__Makefile.in
|
||||
.endif
|
||||
|
||||
post-configure:
|
||||
|
22
net/yaz/files/extrapatch-doc__Makefile.in
Normal file
22
net/yaz/files/extrapatch-doc__Makefile.in
Normal file
@ -0,0 +1,22 @@
|
||||
--- ./doc/Makefile.in.orig 2010-11-12 20:17:48.634411873 +0300
|
||||
+++ ./doc/Makefile.in 2010-11-12 20:28:51.973149234 +0300
|
||||
@@ -264,7 +264,6 @@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
-SUBDIRS = common
|
||||
XMLFILES = bookinfo.xml introduction.xml installation.xml \
|
||||
indexdata.xml \
|
||||
asn.xml tools.xml odr.xml comstack.xml server.xml license.xml \
|
||||
@@ -729,9 +728,9 @@
|
||||
|
||||
info-am:
|
||||
|
||||
-install-data-am: install-docDATA install-man
|
||||
+install-data-am: install-man
|
||||
@$(NORMAL_INSTALL)
|
||||
- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
|
||||
+ $(MAKE) $(AM_MAKEFLAGS)
|
||||
install-dvi: install-dvi-recursive
|
||||
|
||||
install-dvi-am:
|
@ -1,15 +0,0 @@
|
||||
--- ./Makefile.in.orig 2010-08-17 12:42:04.000000000 +0200
|
||||
+++ Makefile.in 2010-11-04 17:52:13.000000000 +0100
|
||||
@@ -280,10 +280,10 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
-SUBDIRS = src include util test client ztest zoom doc etc
|
||||
+SUBDIRS = src include util test client ztest zoom %%DOC%% etc
|
||||
aclocaldir = $(datadir)/aclocal
|
||||
aclocal_DATA = m4/yaz.m4
|
||||
-pkgconfigdir = $(libdir)/pkgconfig
|
||||
+pkgconfigdir = $(prefix)/libdata/pkgconfig
|
||||
pkgconfig_DATA = yaz.pc
|
||||
SPEC_FILE = $(PACKAGE).spec
|
||||
EXTRA_DIST = $(SPEC_FILE) README LICENSE NEWS \
|
Loading…
Reference in New Issue
Block a user