diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2005-04-11 08:04:41 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2005-04-11 08:04:41 +0000 |
commit | f2fc2d60ae226a1b8d5411fb4aab91ea92be6f91 (patch) | |
tree | e9a77f53d4fe679665594e718ad34b49668507cc /multimedia/libmpeg2 | |
parent | 063f8ca62467e4709e58c8bb6b67c85970fe28a1 (diff) |
Notes
Diffstat (limited to 'multimedia/libmpeg2')
-rw-r--r-- | multimedia/libmpeg2/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/multimedia/libmpeg2/Makefile b/multimedia/libmpeg2/Makefile index 321e9e0b7eeb..783baac87dc5 100644 --- a/multimedia/libmpeg2/Makefile +++ b/multimedia/libmpeg2/Makefile @@ -49,7 +49,7 @@ CONFIGURE_ARGS+= --disable-warnings # We must be able to build EV6 code; actual CPU-type optimizations # are chosen at runtime. -.if ${MACHINE_ARCH:L} == "alpha" +.if ${ARCH:L} == "alpha" CFLAGS:= ${CFLAGS:N-mcpu=*} .endif @@ -73,7 +73,7 @@ post-patch: @${REINPLACE_CMD} -e 's|<SDL/|<SDL11/|' ${WRKSRC}/libvo/* @${REINPLACE_CMD} -e 's|-O3||;s|<termio.h>|<termios.h>|' ${WRKSRC}/configure # AMD64 prefers position independent code -.if ${MACHINE_ARCH:L} == "amd64" +.if ${ARCH:L} == "amd64" @${REINPLACE_CMD} -e 's|-prefer-non-pic||' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} .endif |