summaryrefslogtreecommitdiff
path: root/graphics/pecomato/files/patch-Makefile.unix
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-03-25 15:46:07 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-03-25 15:46:07 +0000
commit5055e5aee5e0b3c8a3654b5318a2575d9fc53be0 (patch)
tree3fb4721073b3e0ac19a65e6063cbf3747c36805d /graphics/pecomato/files/patch-Makefile.unix
parentBring in 2 fixes from cvs: (diff)
- Fix build after addition of getdelim() and strndup()
PR: 133053 Submitted by: David Schultz <das@freebsd.org>
Diffstat (limited to 'graphics/pecomato/files/patch-Makefile.unix')
-rw-r--r--graphics/pecomato/files/patch-Makefile.unix15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/pecomato/files/patch-Makefile.unix b/graphics/pecomato/files/patch-Makefile.unix
new file mode 100644
index 000000000000..2bc36b1146bf
--- /dev/null
+++ b/graphics/pecomato/files/patch-Makefile.unix
@@ -0,0 +1,15 @@
+--- Makefile.unix.orig 2009-03-25 03:04:17.000000000 -0400
++++ Makefile.unix 2009-03-25 03:15:45.000000000 -0400
+@@ -27,7 +27,11 @@
+ SRC_PREFIX = $(shell pwd)/dist-src
+
+ TARGET = $(PRODUCT)
+-OBJECTS = main.o gnu-strndup.o gnu-getline.o util.o exif.o iptc.o jfif.o adobe.o tiff.o
++OBJECTS = main.o util.o exif.o iptc.o jfif.o adobe.o tiff.o
++NEEDEXT = $(shell expr $(OSVERSION) \< 800067)
++ifeq ($(NEEDEXT),1)
++OBJECTS += gnu-strndup.o gnu-getline.o
++endif
+ DOC_DEFS = doc/Makefile.defs
+
+