freebsd-ports/x11-fonts/xmbdfed/files/patch-aa
1998-10-28 23:41:24 +00:00

54 lines
1.6 KiB
Plaintext

--- Makefile.orig Wed Oct 28 18:23:15 1998
+++ Makefile Wed Oct 28 18:26:30 1998
@@ -23,8 +23,8 @@
#
# $Id: Makefile,v 1.3 1998/10/17 18:34:10 mleisher Exp $
#
-CC = gcc
-CFLAGS = -g -Wall
+#CC = gcc
+#CFLAGS = -g -Wall
OTHER = README COPYRIGHTS Makefile Imakefile.lesstif Project.tmpl \
xmbdfedrc xmbdfed.man
@@ -65,7 +65,7 @@
# files with a ".gz" extension. If you don't care about HBF fonts, just
# comment this line out.
#
-HBFDEFS = -Dunix -DIN_MEMORY -DGUNZIP_CMD="\"/usr/local/bin/gunzip -c\""
+HBFDEFS = -Dunix -DIN_MEMORY -DGUNZIP_CMD="\"/usr/bin/gunzip -c\""
#
# Set the defines used for all files except the HBF support.
@@ -83,9 +83,9 @@
#
# Uncomment these for Solaris.
#
-INCS = -I/usr/openwin/include -I/usr/dt/include $(FTYPE_INCS)
-LIBS = -R/usr/openwin/lib -R/usr/dt/lib -L/usr/dt/lib -lXm \
- -L/usr/openwin/lib -lXmu -lXt -lXext -lX11 $(FTYPE_LIBS)
+#INCS = -I/usr/openwin/include -I/usr/dt/include $(FTYPE_INCS)
+#LIBS = -R/usr/openwin/lib -R/usr/dt/lib -L/usr/dt/lib -lXm \
+# -L/usr/openwin/lib -lXmu -lXt -lXext -lX11 $(FTYPE_LIBS)
#
# Uncomment these for Linux.
@@ -114,7 +114,17 @@
#INCS = $(FTYPE_INCS)
#LIBS = -lXm -lXmu -lXt -lXext -lX11 -lsocket $(FTYPE_LIBS)
+INCS = -I${X11BASE}/include
+LIBS = -L${X11BASE}/lib ${MOTIFLIB} -lXpm -lXmu -lXt -lX11 -lSM -lICE -lXext -lxpg4
+
+
all: xmbdfed
+
+install: xmbdfed
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ xmbdfed ${X11BASE}/bin/xmbdfed
+ ${INSTALL} ${COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \
+ xmbdfed.man ${X11BASE}/man/man1/xmbdfed.1
xmbdfed: $(OBJS)
$(PURIFY) $(CC) $(STATIC) $(CFLAGS) -o xmbdfed $(OBJS) $(LIBS)