diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2003-03-03 03:05:41 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2003-03-03 03:05:41 +0000 |
commit | 097ebce8e11bd5b3d82de9d2a737849d85e37e0b (patch) | |
tree | fc38895a3934b101519c7e0142ae4abc780afee0 /audio/py-mad | |
parent | 2ceaee08db650fdae18eb66f5e882191fa94734d (diff) |
Notes
Diffstat (limited to 'audio/py-mad')
-rw-r--r-- | audio/py-mad/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/py-mad/Makefile b/audio/py-mad/Makefile index a7a80f373bb9..236c4c145456 100644 --- a/audio/py-mad/Makefile +++ b/audio/py-mad/Makefile @@ -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> |