aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-paint
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-05-23 00:32:04 +0000
committerPatrick Li <pat@FreeBSD.org>2002-05-23 00:32:04 +0000
commit797bc0968f6c141c034212ff2d71f0d1f5e35194 (patch)
treeae9f52a6cc5a1541ffff20edd302bcbcb336a823 /graphics/py-paint
parent5fdaa85b0d76467676b8f9a6cb38497c8fb02688 (diff)
downloadports-797bc0968f6c141c034212ff2d71f0d1f5e35194.tar.gz
ports-797bc0968f6c141c034212ff2d71f0d1f5e35194.zip
Notes
Diffstat (limited to 'graphics/py-paint')
-rw-r--r--graphics/py-paint/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/py-paint/Makefile b/graphics/py-paint/Makefile
index 341a76721755..24e1afc96d67 100644
--- a/graphics/py-paint/Makefile
+++ b/graphics/py-paint/Makefile
@@ -32,8 +32,13 @@ EXAMPLES= test_bar.py test_paint.py testpie.py
.include <bsd.port.pre.mk>
post-patch:
+.if ${OSVERSION} < 500036
${PERL} -pi -e 's@^(.*libraries.*)$$@\1include_dirs=${INC_DIRS},library_dirs=${LIB_DIRS},@g' \
${WRKSRC}/setup.py
+.else
+ ${SED} -i.orig -e 's@^\(.*libraries.*\)$$@\1include_dirs=${INC_DIRS},library_dirs=${LIB_DIRS},@g' \
+ ${WRKSRC}/setup.py
+.endif
.if !defined(NOPORTDOCS)
post-install: