fix build, fix shared libraries.

This commit is contained in:
espie 2007-04-02 22:07:12 +00:00
parent 52257458fe
commit 123b729133
4 changed files with 30 additions and 15 deletions

View File

@ -1,15 +1,16 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/03/22 22:24:32 espie Exp $
# $OpenBSD: Makefile,v 1.2 2007/04/02 22:07:12 espie Exp $
COMMENT= "K Desktop Environment, network"
DISTNAME= kdenetwork-${VERSION}
PKGNAME= ${DISTNAME}p1
LIB_DEPENDS+= gif::graphics/libungif \
bz2::archivers/bzip2 \
pcre,pcreposix::devel/pcre
LIB_DEPENDS+= kdecore.>=8,kde3support,kdefx,kdeprint,kdesu,kdeui,khtml,kio,kjs,knotifyconfig,kparts,ktexteditor,kutils,kwalletclient,phononcore::x11/kde4/libs \
kickermain.>=3::x11/kde4/base
WANTLIB += ICE SM X11 Xau Xcursor Xdmcp Xext Xft Xi Xinerama Xpm
WANTLIB += Xrandr Xrender Xtst c fontconfig freetype jpeg m png
WANTLIB += pthread stdc++ util z
WANTLIB += Qt3Support QtDBus QtGui QtSvg QtXml
WANTLIB += gif bz2 pcre pcreposix
.include <bsd.port.mk>

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-kppp_pppstats_cpp,v 1.1 2007/04/02 22:07:12 espie Exp $
--- kppp/pppstats.cpp.orig Mon Apr 2 23:34:00 2007
+++ kppp/pppstats.cpp Mon Apr 2 23:36:37 2007
@@ -85,6 +85,13 @@
#endif /* STREAMS */
+#if defined __OpenBSD__
+ #include <sys/socket.h>
+ #include <net/if.h>
+ #include <net/if_ppp.h>
+ #include <sys/sockio.h>
+#endif
+
#include <qtimer.h>
#include <kdebug.h>

View File

@ -0,0 +1,6 @@
Network-related kde applications.
* kdict: graphical client for the DICT protocol.
* knewsticker: RDF newsticker applet
* kppp: dialer and front end for pppd
* lanbrowsing: lan browsing kio slave
* kopete: Instant Messaging client

View File

@ -1,13 +1,12 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/03/22 22:24:32 espie Exp $
@comment $OpenBSD: PLIST,v 1.2 2007/04/02 22:07:12 espie Exp $
bin/kdict
bin/knewstickerstub
@owner root
@mode u+s
@owner root
bin/kppp
@mode
@owner
bin/kppplogview
lib/kde4/
lib/kde4/fileshare_propsdlgplugin.so
lib/kde4/kcm_fileshare.so
lib/kde4/kcm_lanbrowser.so
@ -29,8 +28,6 @@ share/applications/kde/kppplogview.desktop
share/applnk/
share/applnk/.hidden/
share/applnk/.hidden/knewstickerstub.desktop
share/apps/
share/apps/kconf_update/
share/apps/kconf_update/knewsticker.upd
share/apps/kconf_update/knt-0.1-0.2.pl
share/apps/kdict/
@ -625,11 +622,8 @@ share/apps/lisa/
share/apps/lisa/README
share/apps/remoteview/
share/apps/remoteview/lan.desktop
share/dbus-1/interfaces/
share/dbus-1/interfaces/org.kde.kdict.xml
share/dbus-1/interfaces/org.kde.kppp.xml
share/doc/HTML/
share/doc/HTML/en/
share/doc/HTML/en/kdict/
share/doc/HTML/en/kdict/applet.png
share/doc/HTML/en/kdict/conf.png
@ -738,8 +732,6 @@ share/doc/HTML/en/lanbrowser/index.docbook
share/doc/HTML/en/lisa/
share/doc/HTML/en/lisa/index.cache.bz2
share/doc/HTML/en/lisa/index.docbook
share/icons/
share/icons/hicolor/
share/icons/hicolor/128x128/
share/icons/hicolor/128x128/apps/
share/icons/hicolor/128x128/apps/kdict.png
@ -770,7 +762,6 @@ share/icons/hicolor/64x64/apps/kppp.png
share/icons/hicolor/scalable/
share/icons/hicolor/scalable/apps/
share/icons/hicolor/scalable/apps/kdict.svgz
share/services/
share/services/fileshare_propsdlgplugin.desktop
share/services/kcmkiolan.desktop
share/services/kcmlisa.desktop