summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-05-19 21:16:19 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-05-19 21:16:19 +0000
commitc798dc93598aac57d6d732e09e4da8e151f1727b (patch)
tree16b41c53d7d8541f5e74cfa79d77ed95a9e35cba /devel
parent- Rearange USE_GNOME (diff)
- Update MASTER_SITES and WWW: line
- Fix dependency PR: ports/66883 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=109528
Diffstat (limited to 'devel')
-rw-r--r--devel/korelib/Makefile23
-rw-r--r--devel/korelib/distinfo1
-rw-r--r--devel/korelib/files/patch-ltmain.sh25
-rw-r--r--devel/korelib/files/patch-nodemo7
4 files changed, 36 insertions, 20 deletions
diff --git a/devel/korelib/Makefile b/devel/korelib/Makefile
index 0dc0682a0393..2199e172f1fd 100644
--- a/devel/korelib/Makefile
+++ b/devel/korelib/Makefile
@@ -7,26 +7,23 @@
PORTNAME= korelib
PORTVERSION= 1.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
-MASTER_SITES= http://host33.ipowerweb.com/~smga3000/thekompany/Korelib/
+MASTER_SITES= http://www.smga3000.com/thekompany/Korelib/
MAINTAINER= ports@FreeBSD.org
COMMENT= A cross-platform C++ library for developing modular applications
-USE_KDELIBS_VER=3
-USE_AUTOMAKE_VER= 14
+USE_REINPLACE= yes
USE_GMAKE= yes
+USE_AUTOMAKE_VER= 14
+MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
+ AUTOHEADER="${TRUE}"
INSTALLS_SHLIB= yes
-USE_REINPLACE= yes
-REINPLACE_ARGS= -i ""
-
-pre-configure:
- ${REINPLACE_CMD} -e "s@-g -O2@${CXXFLAGS}@g; s@-O2@${CFLAGS}@g" \
- ${WRKSRC}/configure ${WRKSRC}/*/Makefile.in ${WRKSRC}/*/*/Makefile.in
- ${REINPLACE_CMD} -e "s@autoheader@autoheader213@" ${WRKSRC}/aclocal.m4
-post-install:
- ${RM} -f ${PREFIX}/lib/libkore.la
+post-patch:
+ @${FIND} ${WRKSRC} -name "Makefile.am" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|include kore demo|include kore|g ; \
+ s|= -g -O2 -Wall|= @CXXFLAGS@|g'
.include <bsd.port.mk>
diff --git a/devel/korelib/distinfo b/devel/korelib/distinfo
index 6d077598293d..7b7b0d0aa793 100644
--- a/devel/korelib/distinfo
+++ b/devel/korelib/distinfo
@@ -1 +1,2 @@
MD5 (korelib-1.0.tar.gz) = ee220ca3cf6efddf0427ff6a3a5cad36
+SIZE (korelib-1.0.tar.gz) = 515324
diff --git a/devel/korelib/files/patch-ltmain.sh b/devel/korelib/files/patch-ltmain.sh
new file mode 100644
index 000000000000..49aa4848e21b
--- /dev/null
+++ b/devel/korelib/files/patch-ltmain.sh
@@ -0,0 +1,25 @@
+--- ltmain.sh.orig Wed Jul 4 18:17:51 2001
++++ ltmain.sh Sun May 16 23:46:08 2004
+@@ -2408,6 +2408,9 @@
+ *-*-netbsd*)
+ # Don't link with libc until the a.out ld.so is fixed.
+ ;;
++ *-*-freebsd*)
++ # FreeBSD doesn't need this...
++ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test $build_libtool_need_lc = "yes"; then
+@@ -4175,10 +4178,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/devel/korelib/files/patch-nodemo b/devel/korelib/files/patch-nodemo
deleted file mode 100644
index 4266d8d597df..000000000000
--- a/devel/korelib/files/patch-nodemo
+++ /dev/null
@@ -1,7 +0,0 @@
---- Makefile.am Mon May 20 10:26:01 2002
-+++ Makefile.am Wed Jul 24 19:42:33 2002
-@@ -2,3 +2,3 @@
- #SUBDIRS = include kore demo samples
--SUBDIRS = include kore demo
-+SUBDIRS = include kore
- AUTOMAKE_OPTIONS = foreign