diff --git a/audio/gnuitar/Makefile b/audio/gnuitar/Makefile index 8c9e49dbe1a9..85c0462643eb 100644 --- a/audio/gnuitar/Makefile +++ b/audio/gnuitar/Makefile @@ -24,4 +24,8 @@ CONFIGURE_ARGS+=--with-gtk2 \ pre-fetch: @${CAT} pkg-message +post-patch: + @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \ + ${WRKSRC}/configure ${WRKSRC}/src/Makefile + .include