summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-01-29 10:11:01 +0000
committermarino <marino@pkgsrc.org>2012-01-29 10:11:01 +0000
commit6af36b088015edb84bf880ba05281afd5a90a18c (patch)
treee2a110c3dfeb93aea4f99fc90793cef1abd9eec9
parentc7c1bea21a14c01a16c9b2e3fabfd44ff127c731 (diff)
downloadpkgsrc-6af36b088015edb84bf880ba05281afd5a90a18c.tar.gz
print/cups-drivers-Magicolor5440DL: Fix PLIST problem on DragonFly
The configure script was looking for BSD in the uname, which DragonFly does not have, and as a result was installing the driver in the wrong directory. Also indirect linking was removed for DragonFly only.
-rw-r--r--print/cups-drivers-Magicolor5440DL/Makefile6
-rw-r--r--print/cups-drivers-Magicolor5440DL/distinfo4
-rw-r--r--print/cups-drivers-Magicolor5440DL/patches/patch-aa11
3 files changed, 16 insertions, 5 deletions
diff --git a/print/cups-drivers-Magicolor5440DL/Makefile b/print/cups-drivers-Magicolor5440DL/Makefile
index 9e08a5c8b60..9d078d8bf36 100644
--- a/print/cups-drivers-Magicolor5440DL/Makefile
+++ b/print/cups-drivers-Magicolor5440DL/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2011/01/13 13:39:10 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2012/01/29 10:11:01 marino Exp $
#
DISTNAME= 5440DL_lin64bit_1_2_1
PKGNAME= cups-drivers-Magicolor5440DL-1.2.1
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= print
MASTER_SITES= http://printer.konicaminolta.net/drivers/linux/
EXTRACT_SUFX= .zip
@@ -25,6 +25,8 @@ USE_LANGUAGES= c
USE_LIBTOOL= yes
USE_TOOLS+= gmake
+LDFLAGS.DragonFly= -lm
+
post-extract:
cd ${WRKDIR}/5440DL_64_v1.2.1/; \
extract_file=src/magicolor5440DL-1.2.1.tar.gz; ${EXTRACT_CMD}
diff --git a/print/cups-drivers-Magicolor5440DL/distinfo b/print/cups-drivers-Magicolor5440DL/distinfo
index 2bf905d904f..058a721a1ce 100644
--- a/print/cups-drivers-Magicolor5440DL/distinfo
+++ b/print/cups-drivers-Magicolor5440DL/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2010/07/12 22:06:07 jym Exp $
+$NetBSD: distinfo,v 1.3 2012/01/29 10:11:01 marino Exp $
SHA1 (5440DL_lin64bit_1_2_1.zip) = 130092a9345ec32a2681bacafaeadcc85563f1fa
RMD160 (5440DL_lin64bit_1_2_1.zip) = a0a5a51eef1a7798d0f8b8d07873bd60ac2cba9b
Size (5440DL_lin64bit_1_2_1.zip) = 767491 bytes
-SHA1 (patch-aa) = 0be07006869dfa0537082afdf484ddf0ba037613
+SHA1 (patch-aa) = 0b4566cd0b7c286eb2b59ebc66ee9b8d7bfb842b
diff --git a/print/cups-drivers-Magicolor5440DL/patches/patch-aa b/print/cups-drivers-Magicolor5440DL/patches/patch-aa
index 386b218cd1e..0243da05d67 100644
--- a/print/cups-drivers-Magicolor5440DL/patches/patch-aa
+++ b/print/cups-drivers-Magicolor5440DL/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2010/07/12 22:06:07 jym Exp $
+$NetBSD: patch-aa,v 1.3 2012/01/29 10:11:01 marino Exp $
- fix a typo about LDFLAGS
- fix paths, some of them being hardcoded.
--- configure.orig 2007-02-28 23:33:11.000000000 +0100
@@ -21,6 +21,15 @@ $NetBSD: patch-aa,v 1.2 2010/07/12 22:06:07 jym Exp $
CPPFLAGS="$CPPFLAGS -I/usr/local/include -I/sw/include"
KM_DATADIR=/Library/Printers/KONICA_MINOLTA/mc5440DL
+@@ -2980,7 +2980,7 @@ cat >>confdefs.h <<_ACEOF
+ _ACEOF
+
+ ;;
+- *BSD*)
++ *BSD* | DragonFly*)
+ # *BSD
+ CUPS_SERVERBIN="$exec_prefix/libexec/cups"
+
@@ -2988,7 +2988,7 @@ cat >>confdefs.h <<_ACEOF
#define CUPS_SERVERBIN "$exec_prefix/libexec/cups"
_ACEOF