aboutsummaryrefslogtreecommitdiff
path: root/graphics/jpeg
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-03-25 15:57:42 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-03-25 15:57:42 +0000
commit63c9fecfe54898fe295852907046f05ae2376424 (patch)
tree27b526e9c0687ab1765afc95d3ba35c5abe4ff74 /graphics/jpeg
parent3ab05ade4f8fcfbd211de9dfd91bdc1d1ae9c524 (diff)
downloadports-63c9fecfe54898fe295852907046f05ae2376424.tar.gz
ports-63c9fecfe54898fe295852907046f05ae2376424.zip
- add regression-test
Submitted by: Mikhail Teterin Feature safe: yes
Notes
Notes: svn path=/head/; revision=293806
Diffstat (limited to 'graphics/jpeg')
-rw-r--r--graphics/jpeg/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/jpeg/Makefile b/graphics/jpeg/Makefile
index 29e366524181..1db369649f7f 100644
--- a/graphics/jpeg/Makefile
+++ b/graphics/jpeg/Makefile
@@ -27,6 +27,7 @@ DISTVERSION2= 8b
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-shared --enable-static
+MAKE_JOBS_SAFE= yes
ADDITIONAL_HEADER= jinclude.h jpegint.h
@@ -44,6 +45,11 @@ post-extract:
post-build:
@cd ${WRKSRC} && ${CC} ${CFLAGS} -o jpegexiforient jpegexiforient.c
+test: build
+ ${SETENV} LD_LIBRARY_PATH=${WRKSRC}/.libs ${MAKE} -C ${WRKSRC} test
+
+regression-test: test
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/jpeg