diff options
author | krion <krion@FreeBSD.org> | 2004-02-20 21:53:42 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-02-20 21:53:42 +0800 |
commit | 24c5b81bcb280d18c92b2e6e4a829823f82ac75c (patch) | |
tree | 5d53256281507036ef9fe425be89c5422e70c11e /games | |
parent | e76ca583f9116e8934b0f5961f2ad99a35b18104 (diff) | |
download | freebsd-ports-gnome-24c5b81bcb280d18c92b2e6e4a829823f82ac75c.tar.gz freebsd-ports-gnome-24c5b81bcb280d18c92b2e6e4a829823f82ac75c.tar.zst freebsd-ports-gnome-24c5b81bcb280d18c92b2e6e4a829823f82ac75c.zip |
- Fix build on AMD64
PR: ports/63104
Submitted by: Hendrik Scholz <hendrik@scholz.net>
Approved by: maintainer
Diffstat (limited to 'games')
-rw-r--r-- | games/pykawari/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/games/pykawari/Makefile b/games/pykawari/Makefile index 7e2fb140ff4c..f51430a56a41 100644 --- a/games/pykawari/Makefile +++ b/games/pykawari/Makefile @@ -35,10 +35,15 @@ USE_GMAKE= yes USE_X_PREFIX= yes WRKSRC= ${WRKDIR}/kawari-${PORTVERSION:S/.//g} -CFLAGS+= ${PTHREAD_CFLAGS} +CFLAGS+= ${PTHREAD_CFLAGS} -fPIC + +.include <bsd.port.pre.mk> +.if ${ARCH} == "amd64" +CFLAGS+= -fPIC +.endif do-build: - (cd ${WRKSRC}/build/src; ${GMAKE} -f gcc.mak PYTHONBASE=${PYTHONBASE} PYTHON_VERSION=${PYTHON_VERSION} PTHREAD_LIBS=${PTHREAD_LIBS}) + (cd ${WRKSRC}/build/src; CFLAGS="${CFLAGS}" ${GMAKE} -f gcc.mak PYTHONBASE=${PYTHONBASE} PYTHON_VERSION=${PYTHON_VERSION} PTHREAD_LIBS=${PTHREAD_LIBS}) do-install: ${MKDIR} ${PREFIX}/share/kawari @@ -47,4 +52,4 @@ do-install: ${MKDIR} ${PREFIX}/libexec/ninix ${INSTALL_PROGRAM} ${WRKSRC}/build/mach/freebsd/_kawari8.so ${PREFIX}/libexec/ninix -.include <bsd.port.mk> +.include <bsd.port.post.mk> |