diff options
Diffstat (limited to 'devel/commoncpp/Makefile')
-rw-r--r-- | devel/commoncpp/Makefile | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/devel/commoncpp/Makefile b/devel/commoncpp/Makefile index 132988cce342..2da2aecded63 100644 --- a/devel/commoncpp/Makefile +++ b/devel/commoncpp/Makefile @@ -14,21 +14,15 @@ MASTER_SITE_SUBDIR= cplusplus MAINTAINER= dyfet@gnu.org USE_GMAKE= yes -USE_CONFIGURE= yes USE_LIBTOOL= yes -#USE_AUTOCONF= yes INSTALLS_SHLIB= yes -#AUTOCONF= autoconf && ${PERL} -pi -e 's|-lpthread|-pthread|g ; \ -# s|l\$$ost_cv_thread_library|\$$ost_cv_thread_library|g' \ -# ${WRKSRC}/configure -# -# I had immense problems with autoconf generated on xBSD 4.0 where the -# generated configure would mangle library names. -post-extract: - cd ${WRKSRC} ; ./configure -# @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ -# 's|-release \$$\(LT_RELEASE\)||g' +pre-patch: + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|-release \$$\(LT_RELEASE\)||g' + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|l\$$ost_cv_thread_library|\$$ost_cv_thread_library|g ; \ + s|=c_r|=pthread|g' ${WRKSRC}/configure post-install: .if !defined(NOPORTDOCS) |