summaryrefslogtreecommitdiff
path: root/graphics/gphoto2
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-01-10 17:58:13 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-01-10 17:58:13 +0000
commitd307009aada0a712e2e9c17905b345a3fe6fe82d (patch)
tree39c83aa26ebdff75f1b88a4bdb738dba08d950f8 /graphics/gphoto2
parent- Bump PORTREVISION for pointyhat (diff)
- Mark BROKEN on FreeBSD 4
Reported by: krismail
Notes
Notes: svn path=/head/; revision=181984
Diffstat (limited to 'graphics/gphoto2')
-rw-r--r--graphics/gphoto2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/gphoto2/Makefile b/graphics/gphoto2/Makefile
index 45a0b87b804d..5bd6511d2a49 100644
--- a/graphics/gphoto2/Makefile
+++ b/graphics/gphoto2/Makefile
@@ -39,6 +39,12 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= does not compile with gcc 2.95
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREADS_LIBS:S/"//g}|g ; \
s|-g -Wall||g' ${WRKSRC}/configure
@@ -51,4 +57,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>