diff options
Diffstat (limited to 'graphics/mesagl/Makefile')
-rw-r--r-- | graphics/mesagl/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/mesagl/Makefile b/graphics/mesagl/Makefile index 6a3ab8afd701..6b17ab4fe2e6 100644 --- a/graphics/mesagl/Makefile +++ b/graphics/mesagl/Makefile @@ -53,6 +53,9 @@ MAKE_ENV+= SUB_GL=${SUB_GL} \ pre-patch: @${PERL} -pi -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure +post-configure: + @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/src/config.c + post-install: .for lib in GL GLU @${LN} -sf ${PREFIX}/lib/lib${lib}.so ${PREFIX}/lib/libMesa${lib}.so |