aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-09-27 16:17:17 +0800
committersobomax <sobomax@FreeBSD.org>2000-09-27 16:17:17 +0800
commit71845d7a302f417d0e402d22e15e86ecf66b14ab (patch)
tree10ab74a4346e6cecd3ae44459640312f8b3a1858 /devel
parent38b5bee231ce1ce1d42b811284fb41436fe0ad74 (diff)
downloadfreebsd-ports-graphics-71845d7a302f417d0e402d22e15e86ecf66b14ab.tar.gz
freebsd-ports-graphics-71845d7a302f417d0e402d22e15e86ecf66b14ab.tar.zst
freebsd-ports-graphics-71845d7a302f417d0e402d22e15e86ecf66b14ab.zip
Numerous improvements:
- properly use libc_r; - provide hack around missing thread-safe version of fpathconf(1) syscall if OSVERSION < 41100; - remove ugly direct call to configure script from post-extract target; - don't add -1.2 suffix to shared libraries; - bump PORTREVISION to make kris happy ;).
Diffstat (limited to 'devel')
-rw-r--r--devel/commoncpp/Makefile27
-rw-r--r--devel/commoncpp/pkg-plist6
2 files changed, 17 insertions, 16 deletions
diff --git a/devel/commoncpp/Makefile b/devel/commoncpp/Makefile
index bdfbb448749..af12b45eb3b 100644
--- a/devel/commoncpp/Makefile
+++ b/devel/commoncpp/Makefile
@@ -7,6 +7,7 @@
PORTNAME= CommonC++
PORTVERSION= 1.2.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= cplusplus
@@ -14,21 +15,21 @@ 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'
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 411000
+CFLAGS+= -DUSE_FPATHCONF_HACK
+.endif
+
+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)
@@ -36,4 +37,4 @@ post-install:
${INSTALL_MAN} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/commoncpp
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/commoncpp/pkg-plist b/devel/commoncpp/pkg-plist
index be172ddd343..107fe576e6f 100644
--- a/devel/commoncpp/pkg-plist
+++ b/devel/commoncpp/pkg-plist
@@ -12,13 +12,13 @@ include/cc++/socket.h
include/cc++/thread.h
lib/libccio.a
lib/libccio.so
-lib/libccio-1.2.so.0
+lib/libccio.so.0
lib/libccstd.a
lib/libccstd.so
-lib/libccstd-1.2.so.0
+lib/libccstd.so.0
lib/libccxx.a
lib/libccxx.so
-lib/libccxx-1.2.so.0
+lib/libccxx.so.0
share/doc/commoncpp/AtomicCounter.html
share/doc/commoncpp/BaseObject.html
share/doc/commoncpp/Body.html
cgi/freebsd-ports-gnome/commit/misc/kde3-i18n-lv?h=gstreamer0.10-removal&id=fe14168a6a9e96b50d94f97bbe29560f10ad71b6'>Rejoice, for the long awaited upgrade to kde 3.1.1 is here!alane2003-04-062-1/+3 * Clear moonlight beckons.ade2003-03-072-1/+1 * Upgrade kde-i18n to 3.1. Note that the following modules did not get awill2003-01-292-1/+2 * 1. Removed comments from pkg-plist files per will's request.alane2002-10-112-3/+1 * Update to 3.0.3. Not much changed here: [1] i18n PKGNAMEs converted towill2002-08-252-4/+3 * 1. Changed the lib depends on gettext to a build depends. This will meanalane2002-08-031-2/+2 * Bump PORTREVISION. KDE is fragile enough in its dependencies; we don'talane2002-08-021-0/+1 * Chase shlib rev of devel/gettextade2002-08-021-1/+1 * Fix MASTER_SITE_SUBDIR.will2002-07-101-1/+1 * Update to 3.0.2 -- full log available in ports/x11/kde3/Makefile,v 1.51.will2002-07-053-6/+5 * Upgrade to KDE 3.0.1. The delay in this upgrade is mainly due to thewill2002-06-163-2/+4 * Please welcome Qt3/KDE3 to our ports tree. This includes work since thewill2002-04-22