[Midnightbsd-cvs] mports: Makefile: Use bash to make this port work with older MNBSD

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Jul 12 13:53:04 EDT 2008


Log Message:
-----------
Use bash to make this port work with older MNBSD versions.

Modified Files:
--------------
    mports/graphics/graphviz:
        Makefile (r1.4 -> r1.5)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/graphics/graphviz/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -L graphics/graphviz/Makefile -L graphics/graphviz/Makefile -u -r1.4 -r1.5
--- graphics/graphviz/Makefile
+++ graphics/graphviz/Makefile
@@ -16,7 +16,8 @@
 COMMENT=	Graph Visualization Software from AT&T and Bell Labs
 LICENSE=	other
 
-LIB_DEPENDS+=	jpeg.9:${PORTSDIR}/graphics/jpeg \
+BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash
+LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
 		png.5:${PORTSDIR}/graphics/png \
 		freetype.9:${PORTSDIR}/print/freetype2 \
 		fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
@@ -401,6 +402,8 @@
 		${WRKSRC}/cmd/smyrna/tvnodes.h
 	@${REINPLACE_CMD} -e 's|#include "regex_win32.h"|#include <regex.h>|' \
 		${WRKSRC}/cmd/smyrna/btree.c
+	@${REINPLACE_CMD} -e 's|#! /bin/sh|#! /${LOCALBASE}/bin/bash|g' \
+		${WRKSRC}/configure
 
 .if defined(WITH_TK)
 post-install-script:


More information about the Midnightbsd-cvs mailing list