Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 2003 14:46:25 +0000 (GMT)
From:      Markus Brueffer <brueffer@phoenix-systems.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/58210: [patch] audio/juk: unbreak on -CURRENT
Message-ID:  <20031018144625.79CE71D@haakonia.hitnet.rwth-aachen.de>
Resent-Message-ID: <200310181450.h9IEo7Hk081023@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         58210
>Category:       ports
>Synopsis:       [patch] audio/juk: unbreak on -CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 18 07:50:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Markus Brueffer
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD cheops.phoenix 5.1-CURRENT FreeBSD 5.1-CURRENT #9: Mon Oct 13 14:46:55 CEST 2003 brueffer@cheops.phoenix:/usr/obj/usr/src/sys/CHEOPS i386

>Description:
	Changes for audio/juk:

	- unbreak on -CURRENT
	- respect PTHREAD_LIBS and CFLAGS
	- minor cleanup

>How-To-Repeat:
>Fix:

--- juk.diff begins here ---
diff -ruN juk.orig/Makefile juk/Makefile
--- juk.orig/Makefile   Sun Apr  6 03:22:08 2003
+++ juk/Makefile        Sat Oct 18 16:43:33 2003
@@ -20,7 +20,13 @@
 USE_KDELIBS_VER=3
 USE_GMAKE=     yes
 GNU_CONFIGURE= yes
-CONFIGURE_ARGS=        --program-transform-name=''
-WRKSRC=                ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USE_REINPLACE= yes
+
+CONFIGURE_TARGET=       --build=${ARCH}-portbld-freebsd${OSREL}
+
+post-patch:
+       @${REINPLACE_CMD} -e 's|-O2||g; s|-pedantic ||g; \
+               s|-lpthread|${PTHREAD_LIBS}|g' \
+               ${WRKSRC}/${CONFIGURE_SCRIPT}

 .include <bsd.port.mk>
--- juk.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031018144625.79CE71D>