aboutsummaryrefslogtreecommitdiffstats
path: root/databases/freetds-devel
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-06-16 18:38:53 +0800
committeritetcu <itetcu@FreeBSD.org>2008-06-16 18:38:53 +0800
commit5c874360bf630e412ac3b63bdf7da75c47f2c38b (patch)
tree6019e890b13e0d20333c9deecf045f87d9aaac1b /databases/freetds-devel
parentbcc1dbfd4049441f40bd0bfb7199fa7725689a04 (diff)
downloadfreebsd-ports-gnome-5c874360bf630e412ac3b63bdf7da75c47f2c38b.tar.gz
freebsd-ports-gnome-5c874360bf630e412ac3b63bdf7da75c47f2c38b.tar.zst
freebsd-ports-gnome-5c874360bf630e412ac3b63bdf7da75c47f2c38b.zip
- fix install when -DNOPORTDOCS
- bump PORTREVISION Submitted by: my QA Tindy run
Diffstat (limited to 'databases/freetds-devel')
-rw-r--r--databases/freetds-devel/Makefile12
-rw-r--r--databases/freetds-devel/files/noportdocs-patch-doc__Makefile.in12
2 files changed, 18 insertions, 6 deletions
diff --git a/databases/freetds-devel/Makefile b/databases/freetds-devel/Makefile
index bb70b5422553..795dbe333ffd 100644
--- a/databases/freetds-devel/Makefile
+++ b/databases/freetds-devel/Makefile
@@ -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
diff --git a/databases/freetds-devel/files/noportdocs-patch-doc__Makefile.in b/databases/freetds-devel/files/noportdocs-patch-doc__Makefile.in
new file mode 100644
index 000000000000..910087cdb263
--- /dev/null
+++ b/databases/freetds-devel/files/noportdocs-patch-doc__Makefile.in
@@ -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:
+