pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
zbar: various misc improvements for the test target
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Mon Oct 12 20:54:25 2015 +0200
Changeset: 5e308bfa8cd5d746b57bcbfca7bc813c742950cf
Modified Files:
zbar/Makefile
Log Message:
zbar: various misc improvements for the test target
o Do not (ab)use PKGSRC_RUN_TEST
o Update my email address
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5e308bfa8cd5d746b57bcbfca7bc813c742950cf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
zbar/Makefile | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diffs:
diff --git a/zbar/Makefile b/zbar/Makefile
index c511d8c..3f5fe1f 100644
--- a/zbar/Makefile
+++ b/zbar/Makefile
@@ -5,7 +5,7 @@ CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zbar/}
EXTRACT_SUFX= .tar.bz2
-MAINTAINER= leot1990%users.sourceforge.net@localhost
+MAINTAINER= leot%NetBSD.org@localhost
HOMEPAGE= http://zbar.sourceforge.net/
COMMENT= Bar code reader
LICENSE= gnu-lgpl-v2.1
@@ -13,7 +13,7 @@ LICENSE= gnu-lgpl-v2.1
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
-USE_LANGUAGES= c
+USE_LANGUAGES= c c++ # c++ needed only for test
# XXX: should we move some of them to options.mk?
CONFIGURE_ARGS+= --disable-video
@@ -25,15 +25,12 @@ PKGCONFIG_OVERRIDE+= zbar-gtk.pc.in
PKGCONFIG_OVERRIDE+= zbar-qt.pc.in
PKGCONFIG_OVERRIDE+= zbar.pc.in
-.if !empty(PKGSRC_RUN_TEST:M[yY][eE][sS])
TEST_TARGET= check
-USE_LANGUAGES= c c++
-
+# Python is needed only for test
REPLACE_PYTHON+= test/barcodetest.py
PYTHON_FOR_BUILD_ONLY= yes
.include "../../lang/python/application.mk"
-.endif
.include "options.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index