diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-11-01 22:51:16 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-11-01 22:51:16 +0800 |
commit | 471b786f80b6a6675ca85619387a0b010b6db8dc (patch) | |
tree | 0df7133afa47361ee65140498496b070aae76806 /devel | |
parent | fd7c62f4ccb3bbe2b315b65a2685406ff4ad73f2 (diff) | |
download | freebsd-ports-gnome-471b786f80b6a6675ca85619387a0b010b6db8dc.tar.gz freebsd-ports-gnome-471b786f80b6a6675ca85619387a0b010b6db8dc.tar.zst freebsd-ports-gnome-471b786f80b6a6675ca85619387a0b010b6db8dc.zip |
Yet again:
- properly use libc_r;
- remove ugly direct call to configure script from post-extract target;
- don't add -1.2 suffix to shared libraries.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/commoncpp/Makefile | 18 | ||||
-rw-r--r-- | devel/commoncpp/pkg-plist | 6 |
2 files changed, 9 insertions, 15 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) diff --git a/devel/commoncpp/pkg-plist b/devel/commoncpp/pkg-plist index 32406babee42..4ddb7d99af3b 100644 --- a/devel/commoncpp/pkg-plist +++ b/devel/commoncpp/pkg-plist @@ -10,15 +10,15 @@ include/cc++/serial.h include/cc++/slog.h include/cc++/socket.h include/cc++/thread.h -lib/libccio-1.2.so.0 lib/libccio.a lib/libccio.so -lib/libccstd-1.2.so.0 +lib/libccio.so.0 lib/libccstd.a lib/libccstd.so -lib/libccxx-1.2.so.0 +lib/libccstd.so.0 lib/libccxx.a lib/libccxx.so +lib/libccxx.so.0 share/doc/commoncpp/AtomicCounter.html share/doc/commoncpp/BaseObject.html share/doc/commoncpp/Body.html |