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.
This commit is contained in:
parent
25151f7576
commit
1d83daa20b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67614
2 changed files with 6 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue