summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2002-10-08 09:10:00 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2002-10-08 09:10:00 +0000
commit1d83daa20b58e3278dbe16f26e53ef732ed2440d (patch)
treed7ce442a82fccbdd6fd4116e3d7aafddf79c8ae7 /databases
parentUpgrade to 1.1. Unfortunately, the tar file is not versioned. (diff)
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.
Notes
Notes: svn path=/head/; revision=67614
Diffstat (limited to 'databases')
-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: