mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- fix install when -DNOPORTDOCS
- bump PORTREVISION Submitted by: my QA Tindy run
This commit is contained in:
parent
3c0e191011
commit
189cabd9e0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=214944
@ -6,10 +6,10 @@
|
||||
|
||||
PORTNAME= freetds
|
||||
PORTVERSION= 0.64
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
||||
MASTER_SITE_SUBDIR= ALPHA/freetds/stable
|
||||
MASTER_SITE_SUBDIR= ALPHA/${PORTNAME}/stable
|
||||
|
||||
MAINTAINER?= ports@FreeBSD.org
|
||||
COMMENT= Sybase/Microsoft TDS protocol library
|
||||
@ -55,6 +55,10 @@ PLIST_SUB+= ODBC="@comment "
|
||||
CONFIGURE_ARGS+= --enable-msdblib
|
||||
.endif
|
||||
|
||||
.if defined(NOPORTDOCS)
|
||||
EXTRA_PATCHES= ${PATCHDIR}/noportdocs-patch-doc__Makefile.in
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@cd ${WRKSRC} && ${LN} -s freetds.conf freetds.conf.dist
|
||||
@cd ${WRKSRC} && ${LN} -s locales.conf locales.conf.dist
|
||||
@ -67,10 +71,6 @@ post-patch:
|
||||
s|/locales.conf|/locales.conf.dist|g ; \
|
||||
s|/pool.conf|/pool.conf.dist|g ; \
|
||||
s| common.h||g'
|
||||
.if defined(NOPORTDOCS)
|
||||
@${REINPLACE_CMD} -e "s|\(install-data-am:\).*|\1 install-man|g" \
|
||||
${WRKSRC}/doc/Makefile.in
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/etc/freetds
|
||||
|
@ -0,0 +1,12 @@
|
||||
--- ./doc/Makefile.in.orig 2008-06-16 13:01:18.956170390 +0300
|
||||
+++ ./doc/Makefile.in 2008-06-16 13:10:19.492674498 +0300
|
||||
@@ -412,8 +412,7 @@
|
||||
|
||||
info-am:
|
||||
|
||||
-install-data-am: install-data-local install-man \
|
||||
- install-nobase_dataDATA
|
||||
+install-data-am: install-man
|
||||
|
||||
install-exec-am:
|
||||
|
@ -6,10 +6,10 @@
|
||||
|
||||
PORTNAME= freetds
|
||||
PORTVERSION= 0.64
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
||||
MASTER_SITE_SUBDIR= ALPHA/freetds/stable
|
||||
MASTER_SITE_SUBDIR= ALPHA/${PORTNAME}/stable
|
||||
|
||||
MAINTAINER?= ports@FreeBSD.org
|
||||
COMMENT= Sybase/Microsoft TDS protocol library
|
||||
@ -55,6 +55,10 @@ PLIST_SUB+= ODBC="@comment "
|
||||
CONFIGURE_ARGS+= --enable-msdblib
|
||||
.endif
|
||||
|
||||
.if defined(NOPORTDOCS)
|
||||
EXTRA_PATCHES= ${PATCHDIR}/noportdocs-patch-doc__Makefile.in
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@cd ${WRKSRC} && ${LN} -s freetds.conf freetds.conf.dist
|
||||
@cd ${WRKSRC} && ${LN} -s locales.conf locales.conf.dist
|
||||
@ -67,10 +71,6 @@ post-patch:
|
||||
s|/locales.conf|/locales.conf.dist|g ; \
|
||||
s|/pool.conf|/pool.conf.dist|g ; \
|
||||
s| common.h||g'
|
||||
.if defined(NOPORTDOCS)
|
||||
@${REINPLACE_CMD} -e "s|\(install-data-am:\).*|\1 install-man|g" \
|
||||
${WRKSRC}/doc/Makefile.in
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/etc/freetds
|
||||
|
12
databases/freetds/files/noportdocs-patch-doc__Makefile.in
Normal file
12
databases/freetds/files/noportdocs-patch-doc__Makefile.in
Normal file
@ -0,0 +1,12 @@
|
||||
--- ./doc/Makefile.in.orig 2008-06-16 13:01:18.956170390 +0300
|
||||
+++ ./doc/Makefile.in 2008-06-16 13:10:19.492674498 +0300
|
||||
@@ -412,8 +412,7 @@
|
||||
|
||||
info-am:
|
||||
|
||||
-install-data-am: install-data-local install-man \
|
||||
- install-nobase_dataDATA
|
||||
+install-data-am: install-man
|
||||
|
||||
install-exec-am:
|
||||
|
Loading…
Reference in New Issue
Block a user