summaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-05-21 22:23:08 +0000
committerlofi <lofi@FreeBSD.org>2004-05-21 22:23:08 +0000
commitd1252614215048e822b94df6cd1e90a8767f993e (patch)
tree22bd2f5189af01a1fe3bdbd91ee107fd761f6d72 /deskutils
parent695e0248a64772c504f0bbe819b884fc235f7ebc (diff)
downloadFreeBSD-ports-d1252614215048e822b94df6cd1e90a8767f993e.zip
FreeBSD-ports-d1252614215048e822b94df6cd1e90a8767f993e.tar.gz
Remove inclusion of "${PORTSDIR}/x11/kde3/Makefile.kde", fix PTHREAD_LIBS
safeness, fix compilation where needed. Committers: Please do NOT include Makefile.kde or commit new ports which do so. It's for use with the core KDE ports maintained by kde@freebsd.org ONLY.
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/kluje/Makefile7
-rw-r--r--deskutils/knowit/Makefile9
2 files changed, 9 insertions, 7 deletions
diff --git a/deskutils/kluje/Makefile b/deskutils/kluje/Makefile
index a645a98..9b8b800 100644
--- a/deskutils/kluje/Makefile
+++ b/deskutils/kluje/Makefile
@@ -21,8 +21,7 @@ GNU_CONFIGURE= yes
USE_REINPLACE= yes
post-patch:
- @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e 's|-O2||g' -e 's|-lpthread|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/${CONFIGURE_SCRIPT}
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/x11/kde3/Makefile.kde"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/deskutils/knowit/Makefile b/deskutils/knowit/Makefile
index de2b6a4..e502c55 100644
--- a/deskutils/knowit/Makefile
+++ b/deskutils/knowit/Makefile
@@ -20,7 +20,10 @@ USE_BZIP2= yes
USE_KDELIBS_VER= 3
USE_GMAKE= yes
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/x11/kde3/Makefile.kde"
-.include <bsd.port.post.mk>
+post-patch:
+ @${REINPLACE_CMD} -e 's|-O2||g' -e 's|-lpthread|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/${CONFIGURE_SCRIPT}
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud