aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/sr/Makefile10
-rw-r--r--lang/sr/pkg-descr2
2 files changed, 11 insertions, 1 deletions
diff --git a/lang/sr/Makefile b/lang/sr/Makefile
index 84f0b5d7e768..33f7374faf09 100644
--- a/lang/sr/Makefile
+++ b/lang/sr/Makefile
@@ -23,6 +23,14 @@ MAN1 = sr.1 srl.1 srm.1 srprof.1 srtex.1 srlatex.1 srgrind.1 \
MAN3 = sranimator.3 srgetopt.3 srwin.3
MAN5 = srmap.5 srtrace.5
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "fails to package due to missing lib/sr/srwin.o"
+.endif
+.if ${OSVERSION} >= 500000
+BROKEN= "fails to build; bad C++ code"
+.endif
pre-install:
@${MKDIR} ${PREFIX}/lib/sr
@@ -36,4 +44,4 @@ post-install:
${CP} -pR ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
-.include<bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/lang/sr/pkg-descr b/lang/sr/pkg-descr
index f428bcc1681d..ec3296316bcf 100644
--- a/lang/sr/pkg-descr
+++ b/lang/sr/pkg-descr
@@ -13,3 +13,5 @@
in /usr/local/share/doc/sr/notes/README.
Enjoy.
+
+ WWW: http://www.cs.arizona.edu/sr