summaryrefslogtreecommitdiff
path: root/print/asprint/files/patch-makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 14:02:16 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 14:02:16 +0000
commitba06c2d6a37dc081a3a8c5a01426a0a009428ca9 (patch)
tree7b1cdea9a21ff4ed307e29514e9d8286d9d83dfa /print/asprint/files/patch-makefile
parentStage, and pull the patches into a sed command. (diff)
Rename p*/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363322
Diffstat (limited to 'print/asprint/files/patch-makefile')
-rw-r--r--print/asprint/files/patch-makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/print/asprint/files/patch-makefile b/print/asprint/files/patch-makefile
new file mode 100644
index 000000000000..4f1ba5fba5f2
--- /dev/null
+++ b/print/asprint/files/patch-makefile
@@ -0,0 +1,30 @@
+--- makefile.orig Fri Mar 14 19:34:48 1997
++++ makefile Wed Jun 21 02:59:31 2000
+@@ -1,18 +1,17 @@
+ .KEEP_STATE:
+
+-CFLAGS = -O2
+-CC = gcc
+-XLIB = -L/usr/X11/lib -lXaw3d -lXmu -lXt
+-
++CFLAGS ?= -O2
++CC ?= gcc
++XLIB = -L$(LOCALBASE)/lib -lXaw -lXmu -lXt
++XLIB+= -Wl,-rpath,$(LOCALBASE)/lib
+ OBJS = asprint.o
+-INCS =
+-
+-default : asprint ./makefile
+-clean:
+- rm -f $(OBJS) *~ asprint core
++INCS = -I$(LOCALBASE)/include
+
+ asprint: $(OBJS)
+ $(CC) -o asprint $(CFLAGS) $(OBJS) $(XLIB)
+
++clean:
++ rm -f $(OBJS) *~ asprint core
++
+ .c.o:
+- $(CC) $(CFLAGS) -c $<
++ $(CC) $(CFLAGS) -c $(INCS) $<