aboutsummaryrefslogtreecommitdiffstats
path: root/www/dummyflash
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-01-26 02:31:01 +0800
committerpav <pav@FreeBSD.org>2005-01-26 02:31:01 +0800
commit27176771fe008baabf682d533270a5e1f581e9c2 (patch)
tree090736c9d649dcf796433dd0bb14b523b084450d /www/dummyflash
parentf45897143622d1e0c9f8c4330f1089c3b47afba0 (diff)
downloadfreebsd-ports-gnome-27176771fe008baabf682d533270a5e1f581e9c2.tar.gz
freebsd-ports-gnome-27176771fe008baabf682d533270a5e1f581e9c2.tar.zst
freebsd-ports-gnome-27176771fe008baabf682d533270a5e1f581e9c2.zip
- Fix on amd64/ia64
Diffstat (limited to 'www/dummyflash')
-rw-r--r--www/dummyflash/Makefile8
-rw-r--r--www/dummyflash/files/patch-aa2
2 files changed, 2 insertions, 8 deletions
diff --git a/www/dummyflash/Makefile b/www/dummyflash/Makefile
index 176c28eee133..abc8ac5f8838 100644
--- a/www/dummyflash/Makefile
+++ b/www/dummyflash/Makefile
@@ -21,14 +21,8 @@ BUILD_WRKSRC= ${WRKSRC}/PluginSDK30b5/examples/UnixTemplate/Unix
NO_WRKSUBDIR= yes
MAKEFILE= makefile.freebsd
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "ia64" || ${ARCH} == "amd64"
-BROKEN= "Does not build on ia64 or amd64"
-.endif
-
do-install:
@${MKDIR} ${PREFIX}/lib/browser_plugins
${INSTALL_DATA} ${BUILD_WRKSRC}/dummyflash.so ${PREFIX}/lib/browser_plugins
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/dummyflash/files/patch-aa b/www/dummyflash/files/patch-aa
index 75e478397eac..748d72db037c 100644
--- a/www/dummyflash/files/patch-aa
+++ b/www/dummyflash/files/patch-aa
@@ -56,7 +56,7 @@
+
+CC= gcc
+OPTIMIZER= -g
-+CFLAGS= $(OPTIMIZER) $(PLUGIN_DEFINES) -I. -I$(ROOT)/usr/include
++CFLAGS= $(OPTIMIZER) -fPIC $(PLUGIN_DEFINES) -I. -I$(ROOT)/usr/include
+
+SRC= ../Source/UnixShell.c ../Source/stubs.c
+OBJ= UnixShell.o stubs.o