1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/x11/eweather/files/patch-aa
John Baldwin 72b978342c E-Weather is an epplet used to display information about the current
weather similar to the wmWeather dockapp.
2000-03-31 18:31:32 +00:00

26 lines
853 B
Plaintext

--- Makefile.orig Tue Mar 28 12:07:51 2000
+++ Makefile Fri Mar 31 02:28:34 2000
@@ -1,15 +1,16 @@
-CC = gcc
-LIBS = -L/usr/X11R6/e/lib -lepplet
-CFLAGS = -O -Wall -I/usr/X11R6/e/include
-IMLIB-CONFIG = /usr/gnome/bin/imlib-config
+#CC = gcc
+LIBS = -L${X11BASE}/lib -lepplet
+CFLAGS += -I${X11BASE}/include
+IMLIB-CONFIG = ${X11BASE}/bin/imlib-config
BIN_PREFIX = /usr/X11R6/e/bin
ICON_PREFIX = /usr/X11R6/e/share/enlightenment/epplet_icons
all: e-weather
e-weather:E-Weather.c
- $(CC) $(CFLAGS) E-Weather.c -o E-Weather.epplet $(LIBS) \
- $(shell $(IMLIB-CONFIG) --cflags) $(shell $(IMLIB-CONFIG) --libs)
+ $(CC) E-Weather.c -o E-Weather.epplet $(LIBS) \
+ $(shell $(IMLIB-CONFIG) --cflags) $(shell $(IMLIB-CONFIG) --libs) \
+ $(CFLAGS)
install: e-weather
install -m 755 E-Weather.epplet $(BIN_PREFIX)/E-Weather.epplet