aboutsummaryrefslogtreecommitdiff
path: root/www/dummyflash
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-01-25 18:31:01 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-01-25 18:31:01 +0000
commitac6b6de4687535882d8645069cc623d0edd39eac (patch)
tree4b359678a7a96c42f1ada06f6136f22ed13faaab /www/dummyflash
parent65a64fb540dc898174b9b6526f5f1f2f99800b85 (diff)
downloadports-ac6b6de4687535882d8645069cc623d0edd39eac.tar.gz
ports-ac6b6de4687535882d8645069cc623d0edd39eac.zip
Notes
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