aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2002-10-08 17:10:00 +0800
committersheldonh <sheldonh@FreeBSD.org>2002-10-08 17:10:00 +0800
commit57c51cd5f5bdc6ba0e2bd73dbf367a5471f93442 (patch)
tree8ab9bea91d80e19af3731854eb311272d943a193
parentf9939d90231765dc756adc985b59ca641a7e1a31 (diff)
downloadfreebsd-ports-gnome-57c51cd5f5bdc6ba0e2bd73dbf367a5471f93442.tar.gz
freebsd-ports-gnome-57c51cd5f5bdc6ba0e2bd73dbf367a5471f93442.tar.zst
freebsd-ports-gnome-57c51cd5f5bdc6ba0e2bd73dbf367a5471f93442.zip
Use in-place editing to replace <malloc.h> with <stdlib.h>.
Bump PORTREVISION accordingly, since the affected files were installed even in -CURRENT, where they couldn't be used to build stuff.
-rw-r--r--databases/freetds-devel/Makefile4
-rw-r--r--databases/freetds/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/databases/freetds-devel/Makefile b/databases/freetds-devel/Makefile
index 97759a7e983b..1e0a19106856 100644
--- a/databases/freetds-devel/Makefile
+++ b/databases/freetds-devel/Makefile
@@ -6,6 +6,7 @@
PORTNAME= freetds
PORTVERSION= 0.60
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= ALPHA/freetds
@@ -46,7 +47,8 @@ post-extract:
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
- 's|/freetds.conf|/freetds.conf.dist|g ; \
+ 's|<malloc.h>|<stdlib.h>| ; \
+ s|/freetds.conf|/freetds.conf.dist|g ; \
s| common.h||g'
post-install:
diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile
index 97759a7e983b..1e0a19106856 100644
--- a/databases/freetds/Makefile
+++ b/databases/freetds/Makefile
@@ -6,6 +6,7 @@
PORTNAME= freetds
PORTVERSION= 0.60
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= ALPHA/freetds
@@ -46,7 +47,8 @@ post-extract:
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
- 's|/freetds.conf|/freetds.conf.dist|g ; \
+ 's|<malloc.h>|<stdlib.h>| ; \
+ s|/freetds.conf|/freetds.conf.dist|g ; \
s| common.h||g'
post-install: