diff options
Diffstat (limited to 'lang/open-cobol-devel')
-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 |
3 files changed, 21 insertions, 3 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" |