aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-10-16 14:59:26 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-10-16 14:59:26 +0000
commit6bac43162d4b2ff3077bc7ed70e6d9dabc350559 (patch)
treed87366046408b12fdab57af8f13b7a3f8f140008 /graphics
parentd44930c1a70317835fdc47e960f9204d83811bd8 (diff)
downloadports-6bac43162d4b2ff3077bc7ed70e6d9dabc350559.tar.gz
ports-6bac43162d4b2ff3077bc7ed70e6d9dabc350559.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/sane-backends/Makefile12
-rw-r--r--graphics/sane-backends/Makefile.man1
-rw-r--r--graphics/sane-backends/pkg-plist3
3 files changed, 12 insertions, 4 deletions
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile
index 06898e8bfe6b..a9537650b771 100644
--- a/graphics/sane-backends/Makefile
+++ b/graphics/sane-backends/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sane-backends
PORTVERSION= 1.0.21
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://alioth.debian.org/frs/download.php/3258/ \
ftp://ftp.sane-project.org/pub/sane/%SUBDIR%/ \
@@ -33,11 +33,11 @@ OPTIONS= USB "USB support" on \
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-docdir=${DOCSDIR} \
--disable-latex \
- --disable-locking
-MAKE_ENV= NOPORTDOCS="${NOPORTDOCS}"
+ --disable-locking \
+ --enable-pthread
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
@@ -50,6 +50,10 @@ GROUPS= saned
.include "Makefile.man"
.include <bsd.port.pre.mk>
+.if defined(NOPORTDOCS)
+MAKE_ENV= NOPORTDOCS=1
+.endif
+
.if defined(WITHOUT_USB)
CONFIGURE_ARGS+= --disable-libusb
.else
diff --git a/graphics/sane-backends/Makefile.man b/graphics/sane-backends/Makefile.man
index 1bc1df0d8fa8..faf1a80f3fa5 100644
--- a/graphics/sane-backends/Makefile.man
+++ b/graphics/sane-backends/Makefile.man
@@ -47,6 +47,7 @@ MAN5+= sane-microtek.5
MAN5+= sane-microtek2.5
MAN5+= sane-mustek.5
MAN5+= sane-mustek_usb.5
+MAN5+= sane-mustek_usb2.5
MAN5+= sane-nec.5
MAN5+= sane-net.5
MAN5+= sane-niash.5
diff --git a/graphics/sane-backends/pkg-plist b/graphics/sane-backends/pkg-plist
index db137ad5cb51..580c2027c5ea 100644
--- a/graphics/sane-backends/pkg-plist
+++ b/graphics/sane-backends/pkg-plist
@@ -304,6 +304,9 @@ lib/sane/libsane-mustek.so.1
lib/sane/libsane-mustek_usb.la
lib/sane/libsane-mustek_usb.so
lib/sane/libsane-mustek_usb.so.1
+lib/sane/libsane-mustek_usb2.la
+lib/sane/libsane-mustek_usb2.so
+lib/sane/libsane-mustek_usb2.so.1
lib/sane/libsane-nec.la
lib/sane/libsane-nec.so
lib/sane/libsane-nec.so.1