aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authormarkus <markus@FreeBSD.org>2004-06-20 22:27:29 +0800
committermarkus <markus@FreeBSD.org>2004-06-20 22:27:29 +0800
commitced2d11ba27ccade38c74fb84e8c7bcf26d36257 (patch)
treee261afc27206f5b75a0ddfe941b65636357b58c1 /net-im
parent4c045e190c377d6653f65bfbf5db81b6b5fc2297 (diff)
downloadfreebsd-ports-gnome-ced2d11ba27ccade38c74fb84e8c7bcf26d36257.tar.gz
freebsd-ports-gnome-ced2d11ba27ccade38c74fb84e8c7bcf26d36257.tar.zst
freebsd-ports-gnome-ced2d11ba27ccade38c74fb84e8c7bcf26d36257.zip
- Don't use Makefile.kde anymore
- Respect CFLAGS and PTHREAD_LIBS
Diffstat (limited to 'net-im')
-rw-r--r--net-im/kmess-kde4/Makefile8
-rw-r--r--net-im/kmess/Makefile8
2 files changed, 6 insertions, 10 deletions
diff --git a/net-im/kmess-kde4/Makefile b/net-im/kmess-kde4/Makefile
index be62927416b5..11f012f872df 100644
--- a/net-im/kmess-kde4/Makefile
+++ b/net-im/kmess-kde4/Makefile
@@ -21,9 +21,7 @@ USE_KDELIBS_VER=3
GNU_CONFIGURE= yes
USE_REINPLACE= yes
USE_GMAKE= yes
-_NO_KDE_FIXPTHREAD= yes
-.include <bsd.port.pre.mk>
pre-patch:
${REINPLACE_CMD} -e '23s/^$$/#include <unistd.h>/' \
${WRKSRC}/kmess/kmessview.cpp
@@ -31,7 +29,7 @@ pre-patch:
${WRKSRC}/kmess/network/mimemessage.h
${REINPLACE_CMD} -e '35s|^$$|#include <netinet/in.h>|' \
${WRKSRC}/kmess/network/msnconnection.h
- ${REINPLACE_CMD} -e 's,-pedantic ,,g' ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e 's/-pedantic //g; s/-O2//g; \
+ s/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/configure
-.include "${PORTSDIR}/x11/kde3/Makefile.kde"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-im/kmess/Makefile b/net-im/kmess/Makefile
index be62927416b5..11f012f872df 100644
--- a/net-im/kmess/Makefile
+++ b/net-im/kmess/Makefile
@@ -21,9 +21,7 @@ USE_KDELIBS_VER=3
GNU_CONFIGURE= yes
USE_REINPLACE= yes
USE_GMAKE= yes
-_NO_KDE_FIXPTHREAD= yes
-.include <bsd.port.pre.mk>
pre-patch:
${REINPLACE_CMD} -e '23s/^$$/#include <unistd.h>/' \
${WRKSRC}/kmess/kmessview.cpp
@@ -31,7 +29,7 @@ pre-patch:
${WRKSRC}/kmess/network/mimemessage.h
${REINPLACE_CMD} -e '35s|^$$|#include <netinet/in.h>|' \
${WRKSRC}/kmess/network/msnconnection.h
- ${REINPLACE_CMD} -e 's,-pedantic ,,g' ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e 's/-pedantic //g; s/-O2//g; \
+ s/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/configure
-.include "${PORTSDIR}/x11/kde3/Makefile.kde"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>