diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2005-05-14 18:23:48 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2005-05-14 18:23:48 +0000 |
commit | 8ca4ff9232fdf83d4ce5fb1f4f2b07555c1ae971 (patch) | |
tree | 1b2c9d1a5409b6d08316faaa70f57f7b47dbbe2d /lang | |
parent | d80a1fed13fb8ce23fc89bb4ed551219c74f1772 (diff) |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/open-cobol-devel/Makefile | 9 | ||||
-rw-r--r-- | lang/open-cobol-devel/distinfo | 4 | ||||
-rw-r--r-- | lang/open-cobol-devel/files/patch-tests_atlocal.in | 11 | ||||
-rw-r--r-- | lang/open-cobol/Makefile | 9 | ||||
-rw-r--r-- | lang/open-cobol/distinfo | 4 | ||||
-rw-r--r-- | lang/open-cobol/files/patch-tests_atlocal.in | 11 |
6 files changed, 42 insertions, 6 deletions
diff --git a/lang/open-cobol-devel/Makefile b/lang/open-cobol-devel/Makefile index 75c492113156..c89a8f81dda2 100644 --- a/lang/open-cobol-devel/Makefile +++ b/lang/open-cobol-devel/Makefile @@ -7,7 +7,7 @@ # PORTNAME= open-cobol -PORTVERSION= 0.31 +PORTVERSION= 0.32 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -44,4 +44,11 @@ post-patch: @${REINPLACE_CMD} -e 's|$$(top_builddir)/lib/libsupport\.a||g' \ ${WRKSRC}/cobc/Makefile.in +.if defined(MAINTAINER_MODE) +test: build + (cd ${WRKSRC}/tests; \ + ./syntax; \ + ./run) +.endif + .include <bsd.port.mk> diff --git a/lang/open-cobol-devel/distinfo b/lang/open-cobol-devel/distinfo index 50a1cf69990c..ebf8c07fdebf 100644 --- a/lang/open-cobol-devel/distinfo +++ b/lang/open-cobol-devel/distinfo @@ -1,2 +1,2 @@ -MD5 (open-cobol-0.31.tar.gz) = 18aeeb41595c3e03b2c315a5c12d5ee6 -SIZE (open-cobol-0.31.tar.gz) = 751754 +MD5 (open-cobol-0.32.tar.gz) = 9ffc3b75eca988e40206b3e310bba635 +SIZE (open-cobol-0.32.tar.gz) = 768635 diff --git a/lang/open-cobol-devel/files/patch-tests_atlocal.in b/lang/open-cobol-devel/files/patch-tests_atlocal.in new file mode 100644 index 000000000000..e902d53ba8b2 --- /dev/null +++ b/lang/open-cobol-devel/files/patch-tests_atlocal.in @@ -0,0 +1,11 @@ +--- tests/atlocal.in.orig Tue May 3 11:31:14 2005 ++++ tests/atlocal.in Sat May 14 18:24:52 2005 +@@ -10,7 +10,7 @@ + COMPILE_ONLY="${COBC} -fsyntax-only ${FLAGS}" + COMPILE_MODULE="${COBC} -m ${FLAGS}" + +-export COB_CFLAGS="-I${abs_top_srcdir}" ++export COB_CFLAGS="-I${abs_top_srcdir} -I@prefix@/include" + export COB_LIBS="-L${abs_top_builddir}/libcob/.libs -lcob @LIBCOB_LIBS@" + export COB_CONFIG_DIR="${abs_top_srcdir}/config" + export LD_LIBRARY_PATH="${abs_top_builddir}/libcob/.libs" diff --git a/lang/open-cobol/Makefile b/lang/open-cobol/Makefile index 75c492113156..c89a8f81dda2 100644 --- a/lang/open-cobol/Makefile +++ b/lang/open-cobol/Makefile @@ -7,7 +7,7 @@ # PORTNAME= open-cobol -PORTVERSION= 0.31 +PORTVERSION= 0.32 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -44,4 +44,11 @@ post-patch: @${REINPLACE_CMD} -e 's|$$(top_builddir)/lib/libsupport\.a||g' \ ${WRKSRC}/cobc/Makefile.in +.if defined(MAINTAINER_MODE) +test: build + (cd ${WRKSRC}/tests; \ + ./syntax; \ + ./run) +.endif + .include <bsd.port.mk> diff --git a/lang/open-cobol/distinfo b/lang/open-cobol/distinfo index 50a1cf69990c..ebf8c07fdebf 100644 --- a/lang/open-cobol/distinfo +++ b/lang/open-cobol/distinfo @@ -1,2 +1,2 @@ -MD5 (open-cobol-0.31.tar.gz) = 18aeeb41595c3e03b2c315a5c12d5ee6 -SIZE (open-cobol-0.31.tar.gz) = 751754 +MD5 (open-cobol-0.32.tar.gz) = 9ffc3b75eca988e40206b3e310bba635 +SIZE (open-cobol-0.32.tar.gz) = 768635 diff --git a/lang/open-cobol/files/patch-tests_atlocal.in b/lang/open-cobol/files/patch-tests_atlocal.in new file mode 100644 index 000000000000..e902d53ba8b2 --- /dev/null +++ b/lang/open-cobol/files/patch-tests_atlocal.in @@ -0,0 +1,11 @@ +--- tests/atlocal.in.orig Tue May 3 11:31:14 2005 ++++ tests/atlocal.in Sat May 14 18:24:52 2005 +@@ -10,7 +10,7 @@ + COMPILE_ONLY="${COBC} -fsyntax-only ${FLAGS}" + COMPILE_MODULE="${COBC} -m ${FLAGS}" + +-export COB_CFLAGS="-I${abs_top_srcdir}" ++export COB_CFLAGS="-I${abs_top_srcdir} -I@prefix@/include" + export COB_LIBS="-L${abs_top_builddir}/libcob/.libs -lcob @LIBCOB_LIBS@" + export COB_CONFIG_DIR="${abs_top_srcdir}/config" + export LD_LIBRARY_PATH="${abs_top_builddir}/libcob/.libs" |