Date: Mon, 5 Mar 2007 22:28:22 +0800 (CST) From: Rong-En Fan <rafan@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: perky@FreeBSD.org Subject: ports/109925: [PATCH] misc/xosd: fix build after objformat removal Message-ID: <200703051428.l25ESMRc090628@svm.csie.ntu.edu.tw> Resent-Message-ID: <200703051430.l25EUB4w054054@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 109925 >Category: ports >Synopsis: [PATCH] misc/xosd: fix build after objformat removal >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 05 14:30:11 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Rong-En Fan >Release: FreeBSD 6.2-STABLE amd64 >Organization: NTU CSIE >Environment: >Description: - Fix build on 7.x (objformat is gone) - Replace deprecated variable Port maintainer (perky@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- xosd-2.2.12_1.patch begins here --- Index: Makefile =================================================================== RCS file: /big/freebsd-cvsup/ncvs/ports/misc/xosd/Makefile,v retrieving revision 1.33 diff -u -u -r1.33 Makefile --- Makefile 10 May 2006 22:37:25 -0000 1.33 +++ Makefile 5 Mar 2007 14:27:48 -0000 @@ -22,7 +22,7 @@ USE_X_PREFIX= yes USE_GMAKE= yes GNU_CONFIGURE= yes -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes CONFIGURE_ENV= LIBS=${PTHREAD_LIBS}' -L${LOCALBASE}/lib' \ CFLAGS='${CFLAGS}' X11BASE='${X11BASE}' \ GTK_CONFIG='${GTK_CONFIG}' GLIB_CONFIG='${GLIB_CONFIG}' \ @@ -51,7 +51,9 @@ pre-patch: @${REINPLACE_CMD} -e 's,-lc_r,-lblahblah,g' ${WRKSRC}/ltmain.sh - @${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g; \ + /objformat/s/echo aout/echo elf/' \ + ${WRKSRC}/configure .for f in src/libxosd/Makefile.in src/xmms_plugin/Makefile.in @${REINPLACE_CMD} -e 's,^\(CFLAGS =\)\(.*\)$$,\1 -I.. \2,g' ${WRKSRC}/$f .endfor --- xosd-2.2.12_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703051428.l25ESMRc090628>