- fix build for amd64

PR:		138796
This commit is contained in:
Dirk Meyer 2010-04-23 12:55:30 +00:00
parent 42ce3ab8db
commit 5d55c4c33a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=253091

View File

@ -33,14 +33,11 @@ DOCS_JA= README.ja doc/api-ja/*
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
BROKEN= "Does not build on amd64 (Needs to link against shared library)"
.endif
post-extract:
${CP} -Rp `${LV_WRKSRC_CMD}` ${WRKSRC}/lv
${LN} -sf . ${WRKSRC}/lv/src
${LN} -sf . ${WRKSRC}/lv/build
${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS=-fPIC |' ${WRKSRC}/lv/Makefile
post-patch:
cd ${WRKSRC}/lv; ${PATCH} Makefile < ${WRKSRC}/lv4491.patch