aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-04-23 20:55:30 +0800
committerdinoex <dinoex@FreeBSD.org>2010-04-23 20:55:30 +0800
commit0e82226fa5bccfa43579470af1cdc17132b7e28f (patch)
tree3893a5636a9249c41376912b415905d42073d37c /converters
parentb3e26b0fcde85fddbe650ebd36b80c6398aa15a9 (diff)
downloadfreebsd-ports-graphics-0e82226fa5bccfa43579470af1cdc17132b7e28f.tar.gz
freebsd-ports-graphics-0e82226fa5bccfa43579470af1cdc17132b7e28f.tar.zst
freebsd-ports-graphics-0e82226fa5bccfa43579470af1cdc17132b7e28f.zip
- fix build for amd64
PR: 138796
Diffstat (limited to 'converters')
-rw-r--r--converters/ruby-lv/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/converters/ruby-lv/Makefile b/converters/ruby-lv/Makefile
index aa74bf31cee..6be78367ea0 100644
--- a/converters/ruby-lv/Makefile
+++ b/converters/ruby-lv/Makefile
@@ -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