ports/146417: [patch] devel/directfb: respect LOCALBASE, jpeg not found
Anonymous
swell.k at gmail.com
Sun May 9 00:10:04 UTC 2010
>Number: 146417
>Category: ports
>Synopsis: [patch] devel/directfb: respect LOCALBASE, jpeg not found
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun May 09 00:10:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Anonymous
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
LOCALBASE=/usr/pkg
PREFIX=$HOME/aaa
WITH_FREETYPE2=
WITH_SDL=
WITH_X11=
>Description:
configure:24180: checking for jpeg_destroy_decompress in -ljpeg
configure:24215: cc -o conftest -O3 -ffast-math -pipe -O2 -pipe -fno-strict-aliasing -D_REENTRANT -pthread -I/usr/local/include -pthread -L/
usr/local/lib conftest.c -ljpeg -pthread >&5
/usr/pkg/bin/ld: cannot find -ljpeg
collect2: ld returned 1 exit status
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: devel/directfb/Makefile
===================================================================
RCS file: /a/.cvsup/ports/devel/directfb/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- devel/directfb/Makefile 28 Mar 2010 06:33:02 -0000 1.37
+++ devel/directfb/Makefile 8 May 2010 23:58:38 -0000
@@ -79,6 +79,7 @@ BROKEN= Does not compile on alpha
post-patch:
@${REINPLACE_CMD} -e 's/-lc_r/${PTHREAD_LIBS}/g ; \
s/-lpthread/${PTHREAD_LIBS}/g ; s|%%LTMAIN%%|${LTMAIN}|g' \
+ -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/configure
.include <bsd.port.post.mk>
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list