--- Makefile.orig Sat Feb 9 15:43:39 2002 +++ Makefile Fri Jun 28 17:39:24 2002 @@ -15,6 +15,7 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-static --enable-shared INSTALLS_SHLIB= yes +USE_REINPLACE= yes .if defined(WITH_GUI) USE_QT_VER= 2 @@ -40,7 +41,7 @@ .endif post-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|"-lqt"|"-l${QT_NAME}"|g ; \ s|"-lqt-mt"|"-l${QT_NAME}"|g' ${WRKSRC}/configure