[patch] cleanup non-supported FreeBSD versions

PR:		ports/111683
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
Approved by:	maintainer timeout
This commit is contained in:
Edwin Groothuis 2007-05-02 08:02:07 +00:00
parent 03dc16c58f
commit e3426001f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191393

View file

@ -21,17 +21,11 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} 's/^\(.*compile.*\)\?\(.*\)\?\(.*\)$$/\1\2\3/' \
${WRKSRC}/setup.py
.if ${OSVERSION} < 500028
@${REINPLACE_CMD} 's/#include <stdint.h>//g' \
${WRKSRC}/src/pymadfile.c
.endif
do-configure:
@cd ${WRKSRC} && ${PYTHON_CMD} config_unix.py --prefix ${PREFIX}
.include <bsd.port.post.mk>
.include <bsd.port.mk>