ports/66883: Update port: devel/korelib
KATO Tsuguru
tkato at prontomail.com
Wed May 19 15:10:34 UTC 2004
>Number: 66883
>Category: ports
>Synopsis: Update port: devel/korelib
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed May 19 08:10:27 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.9-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Fix dependency
New file:
files/patch-ltmain.sh
Remove file:
files/patch-nodemo
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/devel/korelib/Makefile devel/korelib/Makefile
--- /usr/ports/devel/korelib/Makefile Mon Apr 5 13:45:15 2004
+++ devel/korelib/Makefile Wed May 19 23:17:00 2004
@@ -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 at 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 at -g -O2@${CXXFLAGS}@g; s at -O2@${CFLAGS}@g" \
- ${WRKSRC}/configure ${WRKSRC}/*/Makefile.in ${WRKSRC}/*/*/Makefile.in
- ${REINPLACE_CMD} -e "s at 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 -urN /usr/ports/devel/korelib/distinfo devel/korelib/distinfo
--- /usr/ports/devel/korelib/distinfo Sun Jan 19 09:57:41 2003
+++ devel/korelib/distinfo Sun May 16 23:21:29 2004
@@ -1 +1,2 @@
MD5 (korelib-1.0.tar.gz) = ee220ca3cf6efddf0427ff6a3a5cad36
+SIZE (korelib-1.0.tar.gz) = 515324
diff -urN /usr/ports/devel/korelib/files/patch-ltmain.sh devel/korelib/files/patch-ltmain.sh
--- /usr/ports/devel/korelib/files/patch-ltmain.sh Thu Jan 1 09:00:00 1970
+++ devel/korelib/files/patch-ltmain.sh Sun May 16 23:46:20 2004
@@ -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 -urN /usr/ports/devel/korelib/files/patch-nodemo devel/korelib/files/patch-nodemo
--- /usr/ports/devel/korelib/files/patch-nodemo Thu Jul 25 08:52:49 2002
+++ devel/korelib/files/patch-nodemo Thu Jan 1 09:00:00 1970
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list