diff options
author | perky <perky@FreeBSD.org> | 2003-03-03 03:05:41 +0000 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2003-03-03 03:05:41 +0000 |
commit | 06936dc8c3f800fa90f7f5ee3bde7cbe0e0c0b6f (patch) | |
tree | b0f3ad1ec8a515ccde82f0f8ae9f8c9671f49486 /audio/py-mad | |
parent | 28c610d3a7062003338df8cece74ef9301d29eda (diff) | |
download | FreeBSD-ports-06936dc8c3f800fa90f7f5ee3bde7cbe0e0c0b6f.zip FreeBSD-ports-06936dc8c3f800fa90f7f5ee3bde7cbe0e0c0b6f.tar.gz |
Fix build on 4.
Spotted by: kris
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 a7a80f3..236c4c1 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> |