summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2007-07-26 15:12:55 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2007-07-26 15:12:55 +0000
commit6c6334da7a0865e2d41fd59226501f6604df0812 (patch)
tree16a4217d2c7d84b771b8ce736c79a50dae46f0da
parent597fa5f86dd12d146a2702a22f6496acc2d03347 (diff)
downloadfreebsd-ports-6c6334da7a0865e2d41fd59226501f6604df0812.zip
- Truely respcect DATADIR
Submitted by: sat
-rw-r--r--devel/splint/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/splint/Makefile b/devel/splint/Makefile
index 7360e6aa196f..732479ba3a1e 100644
--- a/devel/splint/Makefile
+++ b/devel/splint/Makefile
@@ -23,5 +23,7 @@ MAN1= splint.1
post-patch:
@${REINPLACE_CMD} -e \
's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/Headers/constants.h
+ ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
+ ${REINPLACE_CMD} -e '/^pkgdatadir =/s|=.*|=${DATADIR}|'
.include <bsd.port.mk>