mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
604b3004ab
- Add -fcommon to CFLAGS to fix build - Add minsing Xorg dependencies - Regenerate patches with make makepatch Sponsored by: Rubicon Communications, LLC ("Netgate")
31 lines
719 B
Plaintext
31 lines
719 B
Plaintext
--- Makefile.FREEBSD.orig 2000-10-08 20:38:46 UTC
|
|
+++ Makefile.FREEBSD
|
|
@@ -1,15 +1,13 @@
|
|
-CC = gcc
|
|
OS = -DFREEBSD
|
|
|
|
-LIBDIR = -L/usr/X11R6/lib
|
|
-LIBDIR = -L/usr/X11R6/lib
|
|
-INCDIR = -I/usr/X11R6/include
|
|
+LIBDIR = -L${LOCALBASE}/lib -L${LOCALBASE}/lib
|
|
+INCDIR = -I${LOCALBASE}/include
|
|
|
|
# Edit OSLIBS as appropriate to include OS specific libraries.
|
|
|
|
OSLIBS = -lkvm
|
|
LIBS = -lXpm -lXext -lX11 -lm $(OSLIBS)
|
|
-CFLAGS = -Wall -O2 $(OS)
|
|
+CFLAGS += -Wall $(OS)
|
|
|
|
OBJS = wmcube.o \
|
|
../wmgeneral/wmgeneral.o \
|
|
@@ -20,7 +18,7 @@ OBJS = wmcube.o \
|
|
$(CC) $(CFLAGS) $(INCDIR) -c $< -o $*.o
|
|
|
|
wmcube: $(OBJS)
|
|
- $(CC) -o wmcube $(OBJS) -lXext $(LIBDIR) $(LIBS)
|
|
+ $(CC) -o wmcube $(OBJS) $(LIBDIR) $(LIBS)
|
|
|
|
all:: wmcube
|
|
|