aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-11-24 09:36:45 +0800
committerpetef <petef@FreeBSD.org>2001-11-24 09:36:45 +0800
commit0490c3770c3a13b09dae649d9ca3dd8f285226ca (patch)
treea5a5e046e6b6be04a84a45d801d43fcc20bb2ef7
parent6901cb60e33c16318c3f134ce23b0cdbddc08ee0 (diff)
downloadfreebsd-ports-gnome-0490c3770c3a13b09dae649d9ca3dd8f285226ca.tar.gz
freebsd-ports-gnome-0490c3770c3a13b09dae649d9ca3dd8f285226ca.tar.zst
freebsd-ports-gnome-0490c3770c3a13b09dae649d9ca3dd8f285226ca.zip
Fix compilation: malloc.h -> stdlib.h
PR: 32201 Submitted by: Anthony Kim <anthony.kim@vw.com>
-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)