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 /graphics/povray37/Makefile | |
parent | - Fix non-root installation (diff) |
Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
Notes
Notes:
svn path=/head/; revision=132992
Diffstat (limited to '')
-rw-r--r-- | graphics/povray37/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/povray37/Makefile b/graphics/povray37/Makefile index 2f6adf577740..5d6b84e3612b 100644 --- a/graphics/povray37/Makefile +++ b/graphics/povray37/Makefile @@ -25,7 +25,7 @@ BUILD_DEPENDS= ${LOCALBASE}/intel_cc_80/bin/icc:${PORTSDIR}/lang/icc LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ tiff:${PORTSDIR}/graphics/tiff \ jpeg:${PORTSDIR}/graphics/jpeg -.if (${MACHINE_ARCH} == "i386") +.if (${ARCH} == "i386") LIB_DEPENDS+= vga:${PORTSDIR}/graphics/svgalib .endif @@ -39,7 +39,7 @@ LATEST_LINK= ${PORTNAME}36 .if defined(WITH_OPTIMIZED_FLAGS) CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations CXXFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -Wno-multichar -.if (${MACHINE_ARCH} == "i386" && !${MACHINE_ARCH} == "amd64" ) +.if (${ARCH} == "i386" && !${ARCH} == "amd64" ) CFLAGS+= -mfancy-math-387 -mpreferred-stack-boundary=3 -malign-double CXXFLAGS+= -mfancy-math-387 -mpreferred-stack-boundary=3 -malign-double .endif # i386 @@ -52,7 +52,7 @@ CFLAGS= -O3 -tpp7 -axN -Vaxlib CXXFLAGS= -O3 -tpp7 -axN -Vaxlib .endif -CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --target=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --x-includes="${X11BASE}/include" --includedir=${LOCALBASE} \ CXXFLAGS="${CXXFLAGS} -L${LOCALBASE}/lib -I${LOCALBASE}/include" \ CFLAGS="${CFLAGS} -L${LOCALBASE}/lib -I${LOCALBASE}/include" \ |