diff options
-rw-r--r-- | games/grhino/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/games/grhino/Makefile b/games/grhino/Makefile index 26c739469a3..4fb6657f446 100644 --- a/games/grhino/Makefile +++ b/games/grhino/Makefile @@ -24,8 +24,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" PLIST_SUB+= VERSION=${PORTVERSION} +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +BROKEN= "Incomplete pkg-plist on 4.x" +.endif + post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure -.include <bsd.port.mk> +.include <bsd.port.post.mk> |