diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-04-02 17:12:43 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-04-02 17:12:43 +0800 |
commit | b625aefd221c0f19da86b771efe2e0cc8f2f2283 (patch) | |
tree | 8b7d2bf1d17eebfd68d074b076266eff45a6619c /multimedia | |
parent | 461df437f1c07993667cb292df193159a741696d (diff) | |
download | freebsd-ports-gnome-b625aefd221c0f19da86b771efe2e0cc8f2f2283.tar.gz freebsd-ports-gnome-b625aefd221c0f19da86b771efe2e0cc8f2f2283.tar.zst freebsd-ports-gnome-b625aefd221c0f19da86b771efe2e0cc8f2f2283.zip |
Fix the build on -current (PTHREAD_LIBS conversion victim).
Prompted by: Michael McGoldrick <mtm98@doc.ic.ac.uk>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/xmps/Makefile | 2 | ||||
-rw-r--r-- | multimedia/xmps/files/patch-libxmps::Makefile.in | 2 | ||||
-rw-r--r-- | multimedia/xmps/files/patch-src::Makefile.in | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/multimedia/xmps/Makefile b/multimedia/xmps/Makefile index 8c4339620bb7..b85f9d2430c5 100644 --- a/multimedia/xmps/Makefile +++ b/multimedia/xmps/Makefile @@ -24,7 +24,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ SDL_CONFIG="${SDL_CONFIG}" \ LDFLAGS="-L${LOCALBASE}/lib" -pre-patch: +post-patch: @${PERL} -pi -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \ diff --git a/multimedia/xmps/files/patch-libxmps::Makefile.in b/multimedia/xmps/files/patch-libxmps::Makefile.in index c88117b1482b..7fae58513ea5 100644 --- a/multimedia/xmps/files/patch-libxmps::Makefile.in +++ b/multimedia/xmps/files/patch-libxmps::Makefile.in @@ -9,6 +9,6 @@ $FreeBSD$ -libxmps_la_LDFLAGS = -module -avoid-version +libxmps_la_LDFLAGS = -module - libxmps_la_LIBADD = -pthread + libxmps_la_LIBADD = -lpthread libxmps_la_SOURCES = libxmps_config.h libxmps_config.c libxmps_graph.c libxmps_events.c libxmps_video_conversion.c libxmps_xml.c libxmps.h libxmps.c diff --git a/multimedia/xmps/files/patch-src::Makefile.in b/multimedia/xmps/files/patch-src::Makefile.in index 53d416227753..c450f02f74f1 100644 --- a/multimedia/xmps/files/patch-src::Makefile.in +++ b/multimedia/xmps/files/patch-src::Makefile.in @@ -8,7 +8,7 @@ $FreeBSD$ -xmps_LDADD = -L@LIBXMPS_DIR@ -lxmps -L@LIBXMPSUTILS_DIR@ -lxmpsutils -+xmps_LDADD = -L@LIBXMPS_DIR@ -lxmps -L@LIBXMPSUTILS_DIR@ -lxmpsutils -pthread ++xmps_LDADD = -L@LIBXMPS_DIR@ -lxmps -L@LIBXMPSUTILS_DIR@ -lxmpsutils -lpthread mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = |