summaryrefslogtreecommitdiff
path: root/print/ghostscript-gnu/files/patch-hpijs:makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-11 19:12:20 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-11 19:12:20 +0000
commitf239ea291484a95575cd2ad99a43268434f80947 (patch)
tree277d612725807514b6721dbc45df94f3e0009f55 /print/ghostscript-gnu/files/patch-hpijs:makefile
parentChase the libkakasi's version bump and bump PORTREVISION. (diff)
** ghostscript55 has been repocopied to ghostscript-gnu **
Update to GNU Ghostscript 6.51. PR: ports/29579 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=47707
Diffstat (limited to 'print/ghostscript-gnu/files/patch-hpijs:makefile')
-rw-r--r--print/ghostscript-gnu/files/patch-hpijs:makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/print/ghostscript-gnu/files/patch-hpijs:makefile b/print/ghostscript-gnu/files/patch-hpijs:makefile
new file mode 100644
index 000000000000..8f53a8202f59
--- /dev/null
+++ b/print/ghostscript-gnu/files/patch-hpijs:makefile
@@ -0,0 +1,32 @@
+--- hpijs/makefile.orig Fri Jun 8 06:10:57 2001
++++ hpijs/makefile Tue Jul 10 03:09:21 2001
+@@ -1,17 +1,17 @@
+-FLAGS = -D_LITTLE_ENDIAN -D_DJ660 -D_DJ6xx -D_DJ6xxPhoto -D_DJ8xx -D_DJ9xx \
++FLAGS = -D_DJ660 -D_DJ6xx -D_DJ6xxPhoto -D_DJ8xx -D_DJ9xx \
+ -D_DJ9xxVIP -D_DJ630 -D_APOLLO2100 -D_DJ600 -D_DJ350
+
+ VERSION=0.97
+ INSTALLDIR=/usr/bin
+
+
+-CC = g++ -c -Wall -DVERSION=\"$(VERSION)\" $(FLAGS)
++CXXFLAGS += -DVERSION=\"$(VERSION)\" $(FLAGS)
+ #CC = g++ -c -g -Wall -DVERSION=\"$(VERSION)\" -DCAPTURE $(FLAGS)
+ #CC = g++ -c -g -Wall -DVERSION=\"$(VERSION)\" $(FLAGS)
+
+ .cpp.o:
+ echo "compiling $(<F)"
+- $(CC) $(<F) -o $(*F).o
++ $(CXX) $(CXXFLAGS) -c $(<F) -o $(*F).o
+
+ OBJS = hpijs.o models.o breaks_open.o \
+ aladdin.o broadway.o capture.o \
+@@ -28,7 +28,7 @@
+
+
+ linkit: $(OBJS)
+- g++ $(OBJS) -o hpijs
++ $(CXX) $(OBJS) -o hpijs
+
+ install:
+ install -m 0755 -s hpijs $(INSTALLDIR)