diff options
author | lawrance <lawrance@FreeBSD.org> | 2006-01-31 07:59:11 +0800 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2006-01-31 07:59:11 +0800 |
commit | f00e6c847ed7a31f918e007723bf58b02edc3f36 (patch) | |
tree | 1dd96e28acfe58432908e8a7bb3ca040047f4d99 /devel/directfb/Makefile | |
parent | a23c4d523b26dd444f796ecad3a00327f8db080b (diff) | |
download | freebsd-ports-gnome-f00e6c847ed7a31f918e007723bf58b02edc3f36.tar.gz freebsd-ports-gnome-f00e6c847ed7a31f918e007723bf58b02edc3f36.tar.zst freebsd-ports-gnome-f00e6c847ed7a31f918e007723bf58b02edc3f36.zip |
Unbreak. Replace hard-coded -lc_r with ${PTHREAD_LIBS}.
Diffstat (limited to 'devel/directfb/Makefile')
-rw-r--r-- | devel/directfb/Makefile | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/devel/directfb/Makefile b/devel/directfb/Makefile index 3509826fee54..cb7f97f4685a 100644 --- a/devel/directfb/Makefile +++ b/devel/directfb/Makefile @@ -18,8 +18,6 @@ COMMENT= Graphic development lightweight API LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png -BROKEN= Hard-wires libc_r thread library - CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \ LDFLAGS="${PTHREAD_LIBS}" USE_SDL= sdl @@ -27,7 +25,6 @@ USE_AUTOTOOLS= libtool:15 USE_GMAKE= yes INSTALLS_SHLIB= yes USE_PERL5= yes -USE_REINPLACE= yes PLIST_SUB+= DIRECTFB_VERSION=${PORTVERSION} .if exists(${LOCALBASE}/lib/libfreetype.so.9) @@ -52,12 +49,9 @@ MAN5= directfbrc.5 BROKEN= "Does not compile on alpha 5.x" .endif -.if ${ARCH} == "ia64" -BROKEN= "Hard-codes references to libc_r" -.endif - post-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' + ${REINPLACE_CMD} -e 's/-lc_r/${PTHREAD_LIBS}/g' ${WRKSRC}/configure .include <bsd.port.post.mk> |