Simplify the Makefile a bit by removing some unnecessary CONFIGURE_ARGS

options passed to the autoconf script. The autoconf script already
deals with this by having MMX/SSE2 disabled unless on i386/amd64.

ok ajacoutot@
This commit is contained in:
brad 2008-08-24 09:01:51 +00:00
parent ae711204e0
commit 207d7bc2a8

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.19 2008/06/09 18:24:21 naddy Exp $
# $OpenBSD: Makefile,v 1.20 2008/08/24 09:01:51 brad Exp $
COMMENT= image manipulation library
@ -33,16 +33,4 @@ CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
LDFLAGS="-L${WRKBUILD}/src/lib/.libs -L${X11BASE}/lib -L${LOCALBASE}/lib"
.if ${MACHINE_ARCH} == "amd64"
CONFIGURE_ARGS+= --enable-amd64
.else
CONFIGURE_ARGS+= --disable-amd64
.endif
.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+= --enable-mmx
.else
CONFIGURE_ARGS+= --disable-mmx
.endif
.include <bsd.port.mk>