diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-05-23 00:32:04 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-05-23 00:32:04 +0000 |
commit | 797bc0968f6c141c034212ff2d71f0d1f5e35194 (patch) | |
tree | ae9f52a6cc5a1541ffff20edd302bcbcb336a823 /graphics/py-paint | |
parent | 5fdaa85b0d76467676b8f9a6cb38497c8fb02688 (diff) |
Notes
Diffstat (limited to 'graphics/py-paint')
-rw-r--r-- | graphics/py-paint/Makefile | 5 |
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: |