summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-11-24 01:36:45 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-11-24 01:36:45 +0000
commitea94a481e8f6a1ee98ab700eeac2aa42a7383027 (patch)
tree920f4b90efa46190650aa293407fd6c003e4294a /databases
parentUpdate to 0.3 (diff)
Fix compilation: malloc.h -> stdlib.h
PR: 32201 Submitted by: Anthony Kim <anthony.kim@vw.com>
Notes
Notes: svn path=/head/; revision=50444
Diffstat (limited to 'databases')
-rw-r--r--databases/freetds-devel/Makefile1
-rw-r--r--databases/freetds/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/databases/freetds-devel/Makefile b/databases/freetds-devel/Makefile
index b3793c545a07..618cae7c0029 100644
--- a/databases/freetds-devel/Makefile
+++ b/databases/freetds-devel/Makefile
@@ -24,6 +24,7 @@ post-patch:
's| install-includeHEADERS||g'
@${PERL} -pi -e 's!/freetds.conf!/freetds.conf.dist!g' \
${WRKSRC}/Makefile.in
+ @${PERL} -pi -e 's!malloc.h!stdlib.h!' ${WRKSRC}/include/tds.h.in
post-install:
.if !exists(${PREFIX}/etc/freetds.conf)
diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile
index b3793c545a07..618cae7c0029 100644
--- a/databases/freetds/Makefile
+++ b/databases/freetds/Makefile
@@ -24,6 +24,7 @@ post-patch:
's| install-includeHEADERS||g'
@${PERL} -pi -e 's!/freetds.conf!/freetds.conf.dist!g' \
${WRKSRC}/Makefile.in
+ @${PERL} -pi -e 's!malloc.h!stdlib.h!' ${WRKSRC}/include/tds.h.in
post-install:
.if !exists(${PREFIX}/etc/freetds.conf)