aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/swt31
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /x11-toolkits/swt31
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'x11-toolkits/swt31')
-rw-r--r--x11-toolkits/swt31/Makefile2
-rw-r--r--x11-toolkits/swt31/files/patch-build.sh2
-rw-r--r--x11-toolkits/swt31/files/patch-make_freebsd.mak2
3 files changed, 3 insertions, 3 deletions
diff --git a/x11-toolkits/swt31/Makefile b/x11-toolkits/swt31/Makefile
index e8b394fd5ac7..56f66f24da99 100644
--- a/x11-toolkits/swt31/Makefile
+++ b/x11-toolkits/swt31/Makefile
@@ -21,7 +21,7 @@ ONLY_FOR_ARCHS= i386 amd64
USE_GMAKE= yes
USE_ZIP= yes
MAKEFILE= make_freebsd.mak
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
PLIST_SUB= BUILD=${SWT_VERSION}
PLIST_FILES= %%JAVAJARDIR%%/swt.jar \
lib/libswt-atk-gtk-%%BUILD%%.so \
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