pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38199: sysutils/smartmontools doesn't build on Solaris SPARC



>Number:         38199
>Category:       pkg
>Synopsis:       sysutils/smartmontools doesn't build on Solaris SPARC
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 08 19:55:00 +0000 2008
>Originator:     Sergey Svishchev
>Release:        4.0
>Organization:
>Environment:
>Description:
Only on Solaris SPARC, C compiler is required (to build os_solaris_ata.s.)
Also, on Solaris, this package installs its manpages to man1m, not man8;
this should be overridden.

>How-To-Repeat:

>Fix:
Index: sysutils/smartmontools/Makefile
===================================================================
RCS file: /vol/1/cvsup/pkgsrc/sysutils/smartmontools/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- sysutils/smartmontools/Makefile     4 Jan 2008 22:15:47 -0000       1.14
+++ sysutils/smartmontools/Makefile     11 Jan 2008 18:56:44 -0000
@@ -14,9 +14,9 @@
 PKG_DESTDIR_SUPPORT=   user-destdir
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
-USE_LANGUAGES+=                c++
 USE_TOOLS+=            gmake
 GNU_CONFIGURE=         yes
+USE_LANGUAGES=         c c++
 
 EGDIR=                 ${PREFIX}/share/examples/smartmontools
 CONF_FILES=            ${EGDIR}/smartd.conf ${PKG_SYSCONFDIR}/smartd.conf
Index: sysutils/smartmontools/distinfo
===================================================================
RCS file: /vol/1/cvsup/pkgsrc/sysutils/smartmontools/distinfo,v
retrieving revision 1.14
diff -u -r1.14 distinfo
--- sysutils/smartmontools/distinfo     19 Oct 2007 03:56:13 -0000      1.14
+++ sysutils/smartmontools/distinfo     20 Jan 2008 19:44:28 -0000
@@ -4,5 +4,6 @@
 RMD160 (smartmontools-5.37.tar.gz) = e9d18c71340766dc43bf462a4c12cb0d152f2812
 Size (smartmontools-5.37.tar.gz) = 590605 bytes
 SHA1 (patch-aa) = 005d69bebfdb385ca42c59aa2c90a62e22c14733
+SHA1 (patch-ab) = c755714b48d2bad7f7e5c9b9197889411381d296
 SHA1 (patch-ae) = 35a42cfc16f6657ddbc81cbecf340a3892ba4918
 SHA1 (patch-af) = 0936c5eb5f0df75cebd186304a6ca111909a34d2
Index: sysutils/smartmontools/patches/patch-ab
===================================================================
RCS file: sysutils/smartmontools/patches/patch-ab
diff -N sysutils/smartmontools/patches/patch-ab
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ sysutils/smartmontools/patches/patch-ab     8 Jul 2007 08:11:15 -0000
@@ -0,0 +1,18 @@
+$NetBSD$
+
+--- configure.orig     2006-12-20 20:39:05.000000000 +0000
++++ configure
+@@ -8460,13 +8460,8 @@ fi
+ 
+ 
+ 
+-if echo $host_os | grep '^solaris' > /dev/null; then
+-  OS_SOLARIS_TRUE=
+-  OS_SOLARIS_FALSE='#'
+-else
+   OS_SOLARIS_TRUE='#'
+   OS_SOLARIS_FALSE=
+-fi
+ 
+ 
+ 



Home | Main Index | Thread Index | Old Index