summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--www/sidplug/Makefile1
-rw-r--r--www/sidplug/files/patch-Makefile17
2 files changed, 1 insertions, 17 deletions
diff --git a/www/sidplug/Makefile b/www/sidplug/Makefile
index c8c1ffa3a668..a1b86c21ab13 100644
--- a/www/sidplug/Makefile
+++ b/www/sidplug/Makefile
@@ -17,6 +17,7 @@ COMMENT= A Commodore 64 psid audio plugin for Mozilla or Opera
RUN_DEPENDS= xsidplay:${PORTSDIR}/audio/xsidplay
USE_X_PREFIX= yes
+MAKE_ARGS= CC="${CC}" OPTIMIZER="${CFLAGS} -I$(X11BASE)/include"
.include <bsd.port.pre.mk>
diff --git a/www/sidplug/files/patch-Makefile b/www/sidplug/files/patch-Makefile
deleted file mode 100644
index 791abe72a5c9..000000000000
--- a/www/sidplug/files/patch-Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
---- Makefile.orig Mon Nov 17 02:32:09 1997
-+++ Makefile Sat Mar 13 21:18:05 2004
-@@ -19,11 +19,10 @@
- #
-
- PLUGIN_SDK_PATH = ./PluginSDK30b5
--PLUGIN_DEFINES= -DXP_UNIX -I$(PLUGIN_SDK_PATH)/include
-+PLUGIN_DEFINES= -DXP_UNIX -I$(PLUGIN_SDK_PATH)/include -I$(X11BASE)/include
-
--CC = gcc
--OPTIMIZER = -O
--CFLAGS = $(OPTIMIZER) $(PLUGIN_DEFINES)
-+CC ?= gcc
-+CFLAGS += $(PLUGIN_DEFINES)
-
- SRC= sidplug.c npunix.c
- OBJ= sidplug.o npunix.o