aboutsummaryrefslogtreecommitdiffstats
path: root/comms/ghfaxviewer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/ghfaxviewer/Makefile')
-rw-r--r--comms/ghfaxviewer/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/comms/ghfaxviewer/Makefile b/comms/ghfaxviewer/Makefile
index 8ba762cc7b88..0f0fdfe51de4 100644
--- a/comms/ghfaxviewer/Makefile
+++ b/comms/ghfaxviewer/Makefile
@@ -29,6 +29,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= halifax.1 ghfaxviewer.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@@ -36,4 +42,4 @@ pre-patch:
's|\(\$$(datadir)/\)gnome/|\1|g ; \
s|\$$(datadir)/locale|$$(prefix)/share/locale|g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>