aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-10-14 22:22:37 +0800
committervs <vs@FreeBSD.org>2005-10-14 22:22:37 +0800
commitb2cb8b00cb5131ae043253960b120367d7aa5466 (patch)
treefedc9d36c973839d325ba75b2c3963e37eb2d7aa /www
parentece731d07d7796455e15fbe8e4d7668fa5d72adc (diff)
downloadfreebsd-ports-gnome-b2cb8b00cb5131ae043253960b120367d7aa5466.tar.gz
freebsd-ports-gnome-b2cb8b00cb5131ae043253960b120367d7aa5466.tar.zst
freebsd-ports-gnome-b2cb8b00cb5131ae043253960b120367d7aa5466.zip
Use MAKE_ARGS
Diffstat (limited to 'www')
-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