openbsd-ports/lang/python/2.5/Makefile
merdely e0c0e00c91 Add -mieee CFLAG if ${MACHINE_ARCH} == alpha to prevent floating point
exception.

ok & help martynas@; ok alek@ (MAINTAINER) and naddy@
2007-11-21 18:45:07 +00:00

23 lines
462 B
Makefile

# $OpenBSD: Makefile,v 1.16 2007/11/21 18:45:07 merdely Exp $
VERSION= 2.5
PATCHLEVEL= .1
PKG_PATCHLEVEL= p7
SHARED_LIBS= python2.5 0.0
# PSUBDIR= python/${VERSION}
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "sparc64"
PATCH_LIST= patch-* sup64-*
.endif
.if ${MACHINE_ARCH} == "alpha"
CFLAGS+= -mieee
.endif
CONFIGURE_ARGS+= --with-cxx_main
post-extract:
rm -r ${WRKDIST}/Modules/expat
.include <bsd.port.mk>