View | Details | Raw Unified | Return to bug 46307
Collapse All | Expand All

(-)lang/open-cobol/Makefile (-7 / +7 lines)
Lines 7-36 Link Here
7
#
7
#
8
8
9
PORTNAME=	open-cobol
9
PORTNAME=	open-cobol
10
PORTVERSION=	0.9.7
10
PORTVERSION=	0.10
11
PORTREVISION=	1
12
CATEGORIES=	lang
11
CATEGORIES=	lang
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
14
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
15
14
16
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
17
16
18
LIB_DEPENDS=	db4.0:${PORTSDIR}/databases/db4 \
17
BUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig
19
		intl.4:${PORTSDIR}/devel/gettext \
18
LIB_DEPENDS=	intl.4:${PORTSDIR}/devel/gettext \
20
		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
19
		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
21
		ltdl.1:${PORTSDIR}/devel/libtool \
20
		ltdl.1:${PORTSDIR}/devel/libtool \
22
		gmp.6:${PORTSDIR}/math/libgmp4
21
		gmp.6:${PORTSDIR}/math/libgmp4
22
RUN_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig
23
23
24
USE_BISON=	yes
25
USE_REINPLACE=	yes
24
USE_REINPLACE=	yes
26
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
27
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
26
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
28
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
27
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
29
		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt -lintl"
28
		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
30
CONFIGURE_ARGS=	--with-readline
29
CONFIGURE_ARGS=	--with-readline
31
INSTALLS_SHLIB=	yes
30
INSTALLS_SHLIB=	yes
32
31
33
post-patch:
32
post-patch:
34
	@${REINPLACE_CMD} -e "s|-ldb|-ldb4|g" ${WRKSRC}/configure
33
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
34
		's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
35
35
36
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)lang/open-cobol/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (open-cobol-0.9.7.tar.gz) = 399a9cf4f6cf8226ba6b8e424df56e2e
1
MD5 (open-cobol-0.10.tar.gz) = 613ccc8415e591eab1f42f9e324c24df
(-)lang/open-cobol/files/patch-config::ltmain.sh (+15 lines)
Line 0 Link Here
1
--- config/ltmain.sh.orig	Fri Nov 22 17:03:54 2002
2
+++ config/ltmain.sh	Thu Dec 12 20:35:02 2002
3
@@ -4280,10 +4280,12 @@
4
 	fi
5
 
6
 	# Install the pseudo-library for information purposes.
7
+	if /usr/bin/false; then
8
 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
9
 	instname="$dir/$name"i
10
 	$show "$install_prog $instname $destdir/$name"
11
 	$run eval "$install_prog $instname $destdir/$name" || exit $?
12
+	fi
13
 
14
 	# Maybe install the static library, too.
15
 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
(-)lang/open-cobol/files/patch-fileio.h (-11 lines)
Lines 1-11 Link Here
1
--- libcob/fileio.h.orig	Tue Aug  6 15:19:11 2002
2
+++ libcob/fileio.h	Tue Aug  6 15:19:18 2002
3
@@ -21,7 +21,7 @@
4
 #define COB_FILEIO_H
5
 
6
 #include <stdio.h>
7
-#include <db.h>
8
+#include <db4/db.h>
9
 #include <libcob/common.h>
10
 
11
 #define COB_EQ	1 	/* x == y */
(-)lang/open-cobol/files/patch-ltmain.sh (-41 lines)
Lines 1-41 Link Here
1
--- ltmain.sh.orig	Thu May 16 15:14:23 2002
2
+++ ltmain.sh	Sat Nov  9 18:07:04 2002
3
@@ -1043,14 +1043,14 @@
4
 	    # These systems don't actually have a C library (as such)
5
 	    test "X$arg" = "X-lc" && continue
6
 	    ;;
7
-	  *-*-openbsd*)
8
+	  *-*-openbsd* | *-*-freebsd*)
9
 	    # Do not include libc due to us having libc/libc_r.
10
 	    test "X$arg" = "X-lc" && continue
11
 	    ;;
12
 	  esac
13
 	 elif test "X$arg" = "X-lc_r"; then
14
 	  case $host in
15
-	  *-*-openbsd*)
16
+	  *-*-openbsd* | *-*-freebsd*)
17
 	    # Do not include libc_r directly, use -pthread flag.
18
 	    continue
19
 	    ;;
20
@@ -2441,7 +2441,7 @@
21
 	  *-*-netbsd*)
22
 	    # Don't link with libc until the a.out ld.so is fixed.
23
 	    ;;
24
-	  *-*-openbsd*)
25
+	  *-*-openbsd* | *-*-freebsd*)
26
 	    # Do not include libc due to us having libc/libc_r.
27
 	    ;;
28
 	  *)
29
@@ -4210,10 +4210,12 @@
30
 	fi
31
 
32
 	# Install the pseudo-library for information purposes.
33
+	if /usr/bin/false; then
34
 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
35
 	instname="$dir/$name"i
36
 	$show "$install_prog $instname $destdir/$name"
37
 	$run eval "$install_prog $instname $destdir/$name" || exit $?
38
+	fi
39
 
40
 	# Maybe install the static library, too.
41
 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
(-)lang/open-cobol/pkg-plist (-5 / +2 lines)
Lines 1-17 Link Here
1
bin/cob-config
1
bin/cob-config
2
bin/cobc
2
bin/cobc
3
bin/cobpp
3
bin/cobpp
4
etc/open-cobol/libcob.conf
4
etc/libcob.conf
5
include/libcob.h
5
include/libcob.h
6
include/libcob/call.h
6
include/libcob/call.h
7
include/libcob/cobconfig.h
8
include/libcob/common.h
7
include/libcob/common.h
9
include/libcob/fileio.h
8
include/libcob/fileio.h
10
include/libcob/move.h
9
include/libcob/move.h
11
include/libcob/numeric.h
10
include/libcob/numeric.h
12
include/libcob/screenio.h
11
include/libcob/screenio.h
13
include/libcob/strings.h
12
include/libcob/strings.h
14
include/libcob/support.h
15
include/libcob/termio.h
13
include/libcob/termio.h
16
@unexec install-info --delete %D/info/open-cobol.info %D/info/dir
14
@unexec install-info --delete %D/info/open-cobol.info %D/info/dir
17
info/open-cobol.info
15
info/open-cobol.info
Lines 19-25 Link Here
19
lib/libcob.a
17
lib/libcob.a
20
lib/libcob.so
18
lib/libcob.so
21
lib/libcob.so.0
19
lib/libcob.so.0
22
share/aclocal/cob.m4
20
libdata/pkgconfig/cob.pc
23
share/locale/ja/LC_MESSAGES/open-cobol.mo
21
share/locale/ja/LC_MESSAGES/open-cobol.mo
24
@dirrm include/libcob
22
@dirrm include/libcob
25
@dirrm etc/open-cobol

Return to bug 46307