1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-28 21:29:28 +00:00
freebsd-ports/x11-wm/e16utils/files/patch-e16keyedit-0.2
Clive Lin 3bc498db0e This port contains e16utils provided on enlightenment ftp.
It contains e16menuedit and e16keyedit.

PR: 22110 22113
Submitted by: Jeremy Norris <ishmael27@home.com>
Merged by: clive
Reviewed by: Jeremy Norris <ishmael27@home.com>
2000-12-11 22:46:06 +00:00

43 lines
1.3 KiB
Groff

--- Makefile.orig Thu Mar 23 13:04:16 2000
+++ Makefile Tue Oct 17 17:17:01 2000
@@ -10,23 +10,23 @@
BUILD = \
LIB_DIRS = \
- -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/dt/lib
+ -L${LOCALBASE}/lib -L${X11BASE}/lib
LIBS = \
- `gtk-config --libs` -lgdbm -lgdk_imlib
-CFLAGS = \
- -O -g -D_GNU_SOURCE $(DEVFLAGS)
+ `${GTK_CONFIG} --libs` -lgdbm -lgdk_imlib
+CFLAGS += \
+ -D_GNU_SOURCE $(DEVFLAGS)
#CFLAGS = \
# -O -g -W -Wall -Wno-unused -pedantic -pedantic-errors -ansi -D_GNU_SOURCE
OPTFLAGS = \
-O6 -mpentium -mcpu=pentium -march=pentium -ffast-math -D_GNU_SOURCE
INCLUDES = \
- `gtk-config --cflags` -I..
+ `${GTK_CONFIG} --cflags` -I..
BIN = e16keyedit
# configurable stuff
-BINARY_DESTINATION = /usr/local/enlightenment/bin
-DATA_DESTINATION = /usr/local/enlightenment/share
+BINARY_DESTINATION = ${PREFIX}/bin
+DATA_DESTINATION = ${PREFIX}/share
# commands to do things
INSTALL = install
@@ -39,7 +39,7 @@
MAKE = make
STRIP = strip
SED = sed
-MAKEDEP = gcc -MM $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES) $(EXTRA_INCLUDES)
+MAKEDEP = ${CC} -MM $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES) $(EXTRA_INCLUDES)
#MAKEDEP = makedepend -f- -s'\# CUT' -- -Y $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES) $(EXTRA_INCLUDES) --
# piece together variables