aboutsummaryrefslogtreecommitdiff
path: root/devel/directfb
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2009-07-03 14:25:53 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2009-07-03 14:25:53 +0000
commitb53c000f83d2509abf981d143c6740c79532ade3 (patch)
tree87259154da84261b333eaba9cd174f663b9e0d65 /devel/directfb
parentbd65612c4ceae6b10d22dfec77368d202ddad7f3 (diff)
downloadports-b53c000f83d2509abf981d143c6740c79532ade3.tar.gz
ports-b53c000f83d2509abf981d143c6740c79532ade3.zip
Notes
Diffstat (limited to 'devel/directfb')
-rw-r--r--devel/directfb/Makefile5
-rw-r--r--devel/directfb/files/patch-configure2
2 files changed, 4 insertions, 3 deletions
diff --git a/devel/directfb/Makefile b/devel/directfb/Makefile
index ccb0b94018da..52ac0a217429 100644
--- a/devel/directfb/Makefile
+++ b/devel/directfb/Makefile
@@ -76,7 +76,8 @@ BROKEN= Does not compile on alpha
.endif
post-patch:
- @${REINPLACE_CMD} -e 's/-lc_r/${PTHREAD_LIBS}/g' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/configure.in
+ @${REINPLACE_CMD} -e 's/-lc_r/${PTHREAD_LIBS}/g ; \
+ s/-lpthread/${PTHREAD_LIBS}/g ; s|%%LTMAIN%%|${LTMAIN}|g' \
+ ${WRKSRC}/configure
.include <bsd.port.post.mk>
diff --git a/devel/directfb/files/patch-configure b/devel/directfb/files/patch-configure
index 1340d6d592c9..40df29c5b482 100644
--- a/devel/directfb/files/patch-configure
+++ b/devel/directfb/files/patch-configure
@@ -5,7 +5,7 @@
# This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+LIBTOOL_DEPS="--disable-ltlibs /usr/local/share/libtool/ltmain.sh"
++LIBTOOL_DEPS="--disable-ltlibs %%LTMAIN%%"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.