aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authormarkus <markus@FreeBSD.org>2004-06-06 09:27:57 +0800
committermarkus <markus@FreeBSD.org>2004-06-06 09:27:57 +0800
commit324152bf045ea467662982872621f9fe5f699bdd (patch)
tree1a7f7dd38ce63623262fcdab765eca8a2c7961d4 /ftp
parentf576233a9e80aada99b42f49fd4938f0b5dc82cf (diff)
downloadfreebsd-ports-graphics-324152bf045ea467662982872621f9fe5f699bdd.tar.gz
freebsd-ports-graphics-324152bf045ea467662982872621f9fe5f699bdd.tar.zst
freebsd-ports-graphics-324152bf045ea467662982872621f9fe5f699bdd.zip
- Don't use Makefile.kde anymore
- Add patch to work around a problem with transfers not starting properly in the default install
Diffstat (limited to 'ftp')
-rw-r--r--ftp/kbear/Makefile9
-rw-r--r--ftp/kbear/files/patch-transferqueueconfigwidget.cpp11
2 files changed, 15 insertions, 5 deletions
diff --git a/ftp/kbear/Makefile b/ftp/kbear/Makefile
index 43017fba22e..8e806b44f4b 100644
--- a/ftp/kbear/Makefile
+++ b/ftp/kbear/Makefile
@@ -22,11 +22,10 @@ USE_REINPLACE= yes
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= XML2POT=${TRUE} PO2XML=${TRUE}
+CONFIGURE_ENV= XML2POT=${TRUE} PO2XML=${TRUE} LDFLAGS="${PTHREAD_LIBS}"
post-patch:
- @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-O2||g; s|-lpthread|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/configure
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/x11/kde3/Makefile.kde"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/ftp/kbear/files/patch-transferqueueconfigwidget.cpp b/ftp/kbear/files/patch-transferqueueconfigwidget.cpp
new file mode 100644
index 00000000000..93716ce2604
--- /dev/null
+++ b/ftp/kbear/files/patch-transferqueueconfigwidget.cpp
@@ -0,0 +1,11 @@
+--- kbear/plugins/transferqueue/transferqueueconfigwidget.cpp.orig Sun Jun 6 03:12:32 2004
++++ kbear/plugins/transferqueue/transferqueueconfigwidget.cpp Sun Jun 6 03:13:35 2004
+@@ -110,7 +110,7 @@
+ m_config->sync();
+ }
+ m_sysShutdownCheckBox->setChecked( m_config->readBoolEntry( QString::fromLatin1("SysShutdownWhenDone"), false ) );
+- m_queueCheckBox->setChecked( m_config->readBoolEntry( QString::fromLatin1("QueueTransfers"), false ) );
++ m_queueCheckBox->setChecked( m_config->readBoolEntry( QString::fromLatin1("QueueTransfers"), true ) );
+ m_countSpinBox->setValue( m_config->readUnsignedNumEntry( QString::fromLatin1("NumberOfTransfers"), 1 ) );
+ m_disconnectCommandLineEdit->setText( m_config->readEntry( QString::fromLatin1("DisconnectCommand"), QString::fromLatin1("kppp -k") ) );
+