diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-02-20 13:53:42 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-02-20 13:53:42 +0000 |
commit | ae2be362f36c95e4fef8905dacaec46ca58458f2 (patch) | |
tree | bc101fc79533fe8e85ed27c2e605b85b586196a0 /games | |
parent | 9e35da574c6c0d489c5fae3a0fc1ea812fff713c (diff) | |
download | ports-ae2be362f36c95e4fef8905dacaec46ca58458f2.tar.gz ports-ae2be362f36c95e4fef8905dacaec46ca58458f2.zip |
Notes
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> |