diff options
author | Sheldon Hearn <sheldonh@FreeBSD.org> | 2002-10-08 09:10:00 +0000 |
---|---|---|
committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 2002-10-08 09:10:00 +0000 |
commit | 1d83daa20b58e3278dbe16f26e53ef732ed2440d (patch) | |
tree | d7ce442a82fccbdd6fd4116e3d7aafddf79c8ae7 /databases/freetds-devel | |
parent | Upgrade 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.
Diffstat (limited to 'databases/freetds-devel')
-rw-r--r-- | databases/freetds-devel/Makefile | 4 |
1 files changed, 3 insertions, 1 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: |