summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chinese/bg5pdf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/chinese/bg5pdf/Makefile b/chinese/bg5pdf/Makefile
index 8a0a06097d8b..0b6543b27e28 100644
--- a/chinese/bg5pdf/Makefile
+++ b/chinese/bg5pdf/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= pdf.6:${PORTSDIR}/print/pdflib
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_REINPLACE= yes
+CFLAGS+= -fPIC
post-patch:
${REINPLACE_CMD} -e 's,%%PYTHON_INCLUDEDIR%%,${PYTHON_INCLUDEDIR},g' \