Bug 166009 - graphics/sane-backends is broken if option WITHSNMP=yes
Summary: graphics/sane-backends is broken if option WITHSNMP=yes
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-13 14:40 UTC by Alex.Bakhtin
Modified: 2012-03-14 14:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex.Bakhtin 2012-03-13 14:40:02 UTC
graphics/sane-backends is broken if option WITH_SNMP=yes because of missing '+' sign in the Makefile. If WITH_SNMP is enabled wrong LIB_DEPENDS value is used (no tiff and jpeg libs).

Fix: 

.if defined(WITH_SNMP)
-LIB_DEPENDS=           netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp
+LIB_DEPENDS+=          netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp
 .else
 CONFIGURE_ARGS+=       --without-snmp
 .endif--qlTeDRyNtuUXoSWk1ICofC0D6Ysa9gY0H9zkWDxgmASWqHeP
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.orig       2012-03-13 17:25:19.078363510 +0300
+++ Makefile    2012-03-13 17:25:40.461570314 +0300
@@ -85,7 +85,7 @@
 .endif
How-To-Repeat: Build package with SNMP enabled in tinderbox.
Comment 1 Max Brazhnikov freebsd_committer freebsd_triage 2012-03-14 13:50:52 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-03-14 13:51:30 UTC
makc        2012-03-14 13:50:27 UTC

  FreeBSD ports repository

  Modified files:
    graphics/sane-backends Makefile 
  Log:
  Fix LIB_DEPENDS assignment when building with SNMP support
  
  PR:             ports/166009
  Submitted by:   Alex Bakhtin <Alex.Bakhtin at gmail.com>
  Feature safe:   yes
  
  Revision  Changes    Path
  1.103     +1 -1      ports/graphics/sane-backends/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"