diff options
author | arved <arved@FreeBSD.org> | 2006-05-18 03:08:23 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2006-05-18 03:08:23 +0800 |
commit | d1b3b04cbd5e1b26e056e1ff025f05a6d6f862dc (patch) | |
tree | 9c92e5993a8f8c367bf6156aa79af9fa7e48cad6 /graphics/py-soya3d/Makefile | |
parent | 38a5698be754ef2ac6ded43078706885038bca8e (diff) | |
download | freebsd-ports-gnome-d1b3b04cbd5e1b26e056e1ff025f05a6d6f862dc.tar.gz freebsd-ports-gnome-d1b3b04cbd5e1b26e056e1ff025f05a6d6f862dc.tar.zst freebsd-ports-gnome-d1b3b04cbd5e1b26e056e1ff025f05a6d6f862dc.zip |
Unbreak on i386
Reported by: pointyhat
Pointyhat to: arved
Diffstat (limited to 'graphics/py-soya3d/Makefile')
-rw-r--r-- | graphics/py-soya3d/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/py-soya3d/Makefile b/graphics/py-soya3d/Makefile index 9262b24e2ce2..c52217a9d971 100644 --- a/graphics/py-soya3d/Makefile +++ b/graphics/py-soya3d/Makefile @@ -42,6 +42,12 @@ SOYATUTVER= 0.10.2 DISTFILES+= SoyaTutorial-${SOYATUTVER}${EXTRACT_SUFX} .endif +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" +CFLAGS += -fPIC +.endif + post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/setup.py @@ -76,4 +82,4 @@ post-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |