Bug 188940 - deskutils/notify-osd 0.9.29_6 doesn't compile
Summary: deskutils/notify-osd 0.9.29_6 doesn't compile
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: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-24 04:30 UTC by Walter Schwarzenfeld
Modified: 2014-04-25 08:18 UTC (History)
0 users

See Also:


Attachments
notify-osd.patch (6.25 KB, patch)
2014-04-24 10:24 UTC, Tijl Coosemans
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Schwarzenfeld freebsd_triage 2014-04-24 04:30:00 UTC
/usr/local/bin/ld: test_raico-gaussian-blur.o: undefined reference to symbol 'exp@@FBSD_1.0'
//lib/libm.so.5: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
gmake[2]: *** [test-modules] Error 1
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-04-24 04:41:16 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

ports PR.
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-24 04:41:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ehaupt

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 3 Tijl Coosemans freebsd_committer freebsd_triage 2014-04-24 10:24:53 UTC
This patch should fix it.  Please give it a try.
It disables the tests subdirectory which also allows removing USE_GCC.
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-04-24 15:00:32 UTC
Author: ehaupt
Date: Thu Apr 24 14:00:29 2014
New Revision: 352004
URL: http://svnweb.freebsd.org/changeset/ports/352004
QAT: https://qat.redports.org/buildarchive/r352004/

Log:
  Fix build on 9.2 and remove dependency to gcc [1].
  
  PR:		188940
  Submitted by:	tijl [1]
  Reported by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>

Deleted:
  head/deskutils/notify-osd/files/
Modified:
  head/deskutils/notify-osd/Makefile

Modified: head/deskutils/notify-osd/Makefile
==============================================================================
--- head/deskutils/notify-osd/Makefile	Thu Apr 24 13:25:51 2014	(r352003)
+++ head/deskutils/notify-osd/Makefile	Thu Apr 24 14:00:29 2014	(r352004)
@@ -3,7 +3,7 @@
 
 PORTNAME=	notify-osd
 PORTVERSION=	0.9.29
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	deskutils
 MASTER_SITES=	http://launchpadlibrarian.net/43419242/ \
 		CRITICAL
@@ -23,8 +23,16 @@ GNU_CONFIGURE=	yes
 USES=		gmake libtool pkgconfig
 USE_GNOME=	libwnck gconf2
 USE_XORG=	pixman
-USE_GCC=	yes
 
 LDFLAGS+=	-L${LOCALBASE}/lib -lpixman-1
 
+.include <bsd.port.options.mk>
+
+post-patch:
+	@${REINPLACE_CMD} '/SUBDIRS =/s/tests//' ${WRKSRC}/Makefile.in
+.if ${OSVERSION} < 900033
+	@${REINPLACE_CMD} 's/-Bsymbolic-functions/-Bsymbolic/' \
+		${WRKSRC}/src/Makefile.in
+.endif
+
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Emanuel Haupt freebsd_committer freebsd_triage 2014-04-25 08:18:06 UTC
State Changed
From-To: open->closed

Committed, thanks!