diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/libjbigi/Makefile | 2 | ||||
-rw-r--r-- | math/libjbigi/files/patch-jbigi__build_jbigi.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/math/libjbigi/Makefile b/math/libjbigi/Makefile index 402cd67d3b50..82b2dafa8d41 100644 --- a/math/libjbigi/Makefile +++ b/math/libjbigi/Makefile @@ -29,7 +29,7 @@ PLIST_FILES= %%JAVAJARDIR%%/jbigi.jar JBIGI_BUILD_ENV= \ CC="${CC}" \ - CFLAGS="${CFLAGS}" \ + CFLAGS="${CFLAGS} -fPIC -DPIC" \ LDFLAGS="${LDFLAGS} -static" \ JAVA_HOME="${JAVA_HOME}" \ LOCALBASE="${LOCALBASE}" diff --git a/math/libjbigi/files/patch-jbigi__build_jbigi.sh b/math/libjbigi/files/patch-jbigi__build_jbigi.sh index 46cddff05cd4..2ccb4d750882 100644 --- a/math/libjbigi/files/patch-jbigi__build_jbigi.sh +++ b/math/libjbigi/files/patch-jbigi__build_jbigi.sh @@ -15,7 +15,7 @@ - COMPILEFLAGS="-fPIC -Wall" - INCLUDES="-I. -I../../jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/linux" - LINKFLAGS="-shared -Wl,-soname,libjbigi.so" -+ COMPILEFLAGS="-fPIC -Wall ${CFLAGS}" ++ COMPILEFLAGS="-Wall ${CFLAGS}" + INCLUDES="-I. -I${LOCALBASE}/include -Ijbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/freebsd" + LINKFLAGS="-shared -Wl,-soname,libjbigi.so ${LDFLAGS}" LIBFILE="libjbigi.so";; |