ports/61897: [MAINTAINER UPDATE] audio/prokyon3: fix build with 5.2-current
Kay Lehmann
kay_lehmann at web.de
Sun Jan 25 18:00:33 UTC 2004
>Number: 61897
>Category: ports
>Synopsis: [MAINTAINER UPDATE] audio/prokyon3: fix build with 5.2-current
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 25 10:00:09 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Kay Lehmann
>Release: FreeBSD 5.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD bippes.finkenkrug.ev 5.2-RELEASE FreeBSD 5.2-RELEASE #12: Mon Jan 12 23:16:09 CET 2004 kay at bippes.finkenkrug.ev:/usr/obj/usr/src/sys/bippes i386
>Description:
follow-up to ports/61880.
This one fixes a build-error with 5.2-current.
This port does not build with -D_GETOPT_H, so we have to define
QT_NONSTANDARD and set CPPFLAGS manually.
Since Pav has commited a patch nearly at the same time I sent
ports/61880 the old diff will not apply clean, so I put a complete diff against
Pavs new version at:
http://lehmann.in-berlin.de/bsd/prokyon3-0.9.1r1to0.9.2_new.diff
>How-To-Repeat:
>Fix:
--- Makefile.diff begins here ---
--- Makefile.orig Sun Jan 25 14:06:17 2004
+++ Makefile Sun Jan 25 18:29:45 2004
@@ -28,6 +28,14 @@
CONFIGURE_ARGS+=--with-qtdir=${X11BASE} --with-id3-libs=${LOCALBASE}\
--with-ogg-libs=${LOCALBASE} --with-vorbis-libs=${LOCALBASE}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500041
+QT_NONSTANDARD= yes
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include \
+ -I${QT_PREFIX}/include"
+.endif
+
.if defined(WITH_BURN)
RUN_DEPENDS+= cdrecord:${PORTSDIR}/sysutils/cdrtools \
mpg123:${PORTSDIR}/audio/mpg123 \
@@ -48,4 +56,4 @@
@${CAT} ${PKGMESSAGE}
@sleep 5
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- Makefile.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list