diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2003-10-17 07:20:16 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2003-10-17 07:20:16 +0000 |
commit | 67302fe7417af51fcf277362439d6a2a00815538 (patch) | |
tree | 34fb6f267afd034713697136b8a53c973281d54f /audio | |
parent | d4d06535dafc219302eed699245c15fdf07cdb5b (diff) | |
download | ports-67302fe7417af51fcf277362439d6a2a00815538.tar.gz ports-67302fe7417af51fcf277362439d6a2a00815538.zip |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/yammi/Makefile | 10 | ||||
-rw-r--r-- | audio/yammi/files/patch-configure | 45 |
2 files changed, 43 insertions, 12 deletions
diff --git a/audio/yammi/Makefile b/audio/yammi/Makefile index b1e937f4813a..bbd1d4dd7466 100644 --- a/audio/yammi/Makefile +++ b/audio/yammi/Makefile @@ -24,7 +24,7 @@ USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}" \ LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" -CONFIGURE_ARGS+= --program-prefix='' +CONFIGURE_ARGS+= --program-prefix='' --enable-threading=yes --enable-mt=yes USE_REINPLACE= yes .include <bsd.port.pre.mk> @@ -36,6 +36,8 @@ WITH_NOATUN=yes .if defined(WITH_NOATUN) BUILD_DEPENDS+= noatun:${PORTSDIR}/multimedia/kdemultimedia3 WITH_KDE=yes +.else +CONFIGURE_ARGS+= --disable-noatun .endif # defined(WITH_NOATUN) .if exists(${LOCALBASE}/lib/libkdecore.so) @@ -44,12 +46,14 @@ WITH_KDE=yes .if defined(WITH_KDE) USE_KDELIBS_VER=3 +.else +CONFIGURE_ARGS+= --disable-KDE .endif # defined(WITH_KDE) -pre-configure:: +pre-configure: @${REINPLACE_CMD} -e 's@-lpthread@${PTHREAD_LIBS}@g' ${WRKSRC}/configure -post-configure:: +post-configure: @${REINPLACE_CMD} -e 's@$$(DESTDIR)$$(KDEDIR)@$$(prefix)@g' ${WRKSRC}/yammi/docs/en/Makefile .include <bsd.port.post.mk> diff --git a/audio/yammi/files/patch-configure b/audio/yammi/files/patch-configure index 083ee480b69e..a6da87734f4e 100644 --- a/audio/yammi/files/patch-configure +++ b/audio/yammi/files/patch-configure @@ -1,6 +1,33 @@ ---- configure.orig Fri Sep 5 21:43:28 2003 -+++ configure Fri Sep 5 21:43:31 2003 -@@ -21260,7 +21260,7 @@ +--- configure.orig Sun Aug 31 23:25:52 2003 ++++ configure Thu Oct 16 00:24:50 2003 +@@ -19343,7 +19343,7 @@ + EOF + fi + +-echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext ++echo "#if ! (1)" >> conftest.$ac_ext + cat >> conftest.$ac_ext <<EOF + #error 1 + #endif +@@ -19949,6 +19949,8 @@ + echo "$as_me:19949: result: $USE_RPATH" >&5 + echo "${ECHO_T}$USE_RPATH" >&6 + ++if test "x$configure_enable_KDE" = "xyes"; then ++ + echo "$as_me:19952: checking for KDE" >&5 + echo $ECHO_N "checking for KDE... $ECHO_C" >&6 + +@@ -21156,6 +21158,8 @@ + + fi + ++fi ++ + if test "x$configure_enable_KDE" = "xyes"; then + + DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin" +@@ -21260,7 +21264,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS @@ -9,7 +36,7 @@ cat >conftest.$ac_ext <<_ACEOF #line 21265 "configure" #include "confdefs.h" -@@ -21322,7 +21322,7 @@ +@@ -21322,7 +21326,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS @@ -18,7 +45,7 @@ cat >conftest.$ac_ext <<_ACEOF #line 21327 "configure" #include "confdefs.h" -@@ -21386,7 +21386,7 @@ +@@ -21386,7 +21390,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS @@ -27,7 +54,7 @@ cat >conftest.$ac_ext <<_ACEOF #line 21391 "configure" #include "confdefs.h" -@@ -21450,7 +21450,7 @@ +@@ -21450,7 +21454,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS @@ -36,7 +63,7 @@ cat >conftest.$ac_ext <<_ACEOF #line 21455 "configure" #include "confdefs.h" -@@ -21498,7 +21498,7 @@ +@@ -21498,7 +21502,7 @@ #define HAVE_LIBGDK 1 EOF @@ -45,7 +72,7 @@ else configure_enable_ogglibs=no -@@ -21527,7 +21527,7 @@ +@@ -21527,7 +21531,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS @@ -54,7 +81,7 @@ cat >conftest.$ac_ext <<_ACEOF #line 21532 "configure" #include "confdefs.h" -@@ -21589,7 +21589,7 @@ +@@ -21589,7 +21593,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS |