Bug 102618 - [maintainer] audio/kid3: fix build on 4.x
Summary: [maintainer] audio/kid3: fix build on 4.x
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: Ion-Mihai "IOnut" Tetcu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-28 21:30 UTC by Max Brazhnikov
Modified: 2006-09-03 21:10 UTC (History)
0 users

See Also:


Attachments
file.diff (415 bytes, patch)
2006-08-28 21:30 UTC, Max Brazhnikov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Max Brazhnikov 2006-08-28 21:30:20 UTC
Try to fix build on freebsd 4.x
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-08-28 21:30:28 UTC
Class Changed
From-To: sw-bug->maintainer-update

Fix category (submitter is maintainer)
Comment 2 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-09-03 16:31:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->itetcu

I'll take it.
Comment 3 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-09-03 16:32:05 UTC
State Changed
From-To: open->feedback

http://sce-tindy.tecnik93.com/tb/errors/4-STABLE-i386-myPT/kid3-0.7.log
Comment 4 makc 2006-09-03 21:04:54 UTC
I'm not familiar with FreeBSD 4.x at all, so ignore building port.

diff -ruN --exclude=CVS /usr/ports//audio/kid3/Makefile /home/makc/porting/ports/audio/kid3/Makefile
--- /usr/ports//audio/kid3/Makefile	Sun Aug 27 21:36:01 2006
+++ /home/makc/porting/ports/audio/kid3/Makefile	Sun Sep  3 23:35:39 2006
@@ -26,4 +26,11 @@
 USE_GETTEXT=	yes
 GNU_CONFIGURE=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+ IGNORE=	does not compile on FreeBSD 4.x
+.endif
+
+.include <bsd.port.post.mk>
+
Comment 5 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-09-03 21:06:15 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!