mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Fix build on 4.
Spotted by: kris
This commit is contained in:
parent
2ceaee08db
commit
097ebce8e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76776
@ -21,11 +21,18 @@ 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.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user