aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
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')
-rw-r--r--net/kmess/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/net/kmess/Makefile b/net/kmess/Makefile
index be62927416b5..11f012f872df 100644
--- a/net/kmess/Makefile
+++ b/net/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>