diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-12-27 20:45:45 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-12-27 20:45:45 +0000 |
commit | 3edf4f547c96de772f2a139b36220069969abc6a (patch) | |
tree | 2540aab2568c3f8f978b062eec636e1c09f3db86 /x11/wmfstatus/files | |
parent | 2b9dd982d572537769a982a71f487b2af16fa48b (diff) |
Notes
Diffstat (limited to 'x11/wmfstatus/files')
-rw-r--r-- | x11/wmfstatus/files/patch-Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/x11/wmfstatus/files/patch-Makefile b/x11/wmfstatus/files/patch-Makefile new file mode 100644 index 000000000000..1c6d893a129e --- /dev/null +++ b/x11/wmfstatus/files/patch-Makefile @@ -0,0 +1,33 @@ +--- Makefile.orig Mon Nov 22 17:38:07 1999 ++++ Makefile Thu Dec 27 18:35:43 2001 +@@ -1,6 +1,6 @@ +-LIBDIR = -L/usr/X11R6/lib ++LIBDIR = -L${X11BASE}/lib + LIBS = -lXpm -lXext -lX11 +-FLAGS = -O2 ++FLAGS = ${CFLAGS} + OBJS = wmfstatus.o \ + ../wmgeneral/wmgeneral.o \ + ../wmgeneral/misc.o \ +@@ -8,10 +8,10 @@ + + + .c.o: +- cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o ++ ${CC} -I${X11BASE}/include $(FLAGS) -c -Wall $< -o $*.o + + wmfstatus: $(OBJS) +- cc $(FLAGS) -o wmfstatus $^ -lXext $(LIBDIR) $(LIBS) ++ ${CC} $(FLAGS) -o wmfstatus $? -lXext $(LIBDIR) $(LIBS) + + all:: wmfstatus + +@@ -23,7 +23,4 @@ + rm -f *~ + + install:: wmfstatus +- cp -f wmfstatus /usr/local/bin/ +- chmod 755 /usr/local/bin/wmfstatus +- chown root:root /usr/local/bin/wmfstatus +- @echo "WMFSTATUS Installation finished..." ++ ${BSD_INSTALL_PROGRAM} ./wmfstatus ${PREFIX}/bin/ |