freebsd-ports/www/sidplug/files/patch-Makefile
Kirill Ponomarev e79c352640 - Don't define -fPIC to all achitectures but only for AMD64
PR:		ports/64357
Submitted by:	maintainer
2004-03-17 16:02:44 +00:00

17 lines
473 B
Text

--- 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