aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/swt31/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/swt31/files')
-rw-r--r--x11-toolkits/swt31/files/patch-build.sh2
-rw-r--r--x11-toolkits/swt31/files/patch-make_freebsd.mak2
2 files changed, 2 insertions, 2 deletions
diff --git a/x11-toolkits/swt31/files/patch-build.sh b/x11-toolkits/swt31/files/patch-build.sh
index 9a0767cf0f7c..2a9b1860949e 100644
--- a/x11-toolkits/swt31/files/patch-build.sh
+++ b/x11-toolkits/swt31/files/patch-build.sh
@@ -8,7 +8,7 @@
+ CC=%%CC%%
+ CXX=%%CXX%%
+ LD=%%CC%%
-+ XTEST_LIB_PATH=$X11BASE/lib
++ XTEST_LIB_PATH=$LOCALBASE/lib
+ GECKO_INCLUDES="`${GECKO_CONFIG} --cflags gtkmozembed` -I${LOCALBASE}/include/nspr"
+ GECKO_LIBS="`${GECKO_CONFIG} --libs gtkmozembed` -L${LOCALBASE}/lib"
+ case $MODEL in
diff --git a/x11-toolkits/swt31/files/patch-make_freebsd.mak b/x11-toolkits/swt31/files/patch-make_freebsd.mak
index 37a506210299..bb76702289ed 100644
--- a/x11-toolkits/swt31/files/patch-make_freebsd.mak
+++ b/x11-toolkits/swt31/files/patch-make_freebsd.mak
@@ -42,7 +42,7 @@
- -fpic \
+ -I$(JAVA_HOME)/include/freebsd \
+ -fpic -fPIC \
-+ -I$(X11BASE)/include \
++ -I$(LOCALBASE)/include \
${SWT_PTR_CFLAGS}
-LIBS = -shared -fpic -s
+LIBS = -shared -fpic -fPIC -s