ports/109925: [PATCH] misc/xosd: fix build after objformat removal
Rong-En Fan
rafan at FreeBSD.org
Mon Mar 5 14:30:12 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list