aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deskutils/kickpim/Makefile8
-rw-r--r--editors/kile-kde4/Makefile4
-rw-r--r--editors/kile/Makefile4
-rw-r--r--finance/kexchange/Makefile4
-rw-r--r--german/kheisereg/Makefile9
-rw-r--r--print/kcdlabel/Makefile7
-rw-r--r--sysutils/kdirstat/Makefile7
7 files changed, 16 insertions, 27 deletions
diff --git a/deskutils/kickpim/Makefile b/deskutils/kickpim/Makefile
index e50a32de2e19..78a9e37339a8 100644
--- a/deskutils/kickpim/Makefile
+++ b/deskutils/kickpim/Makefile
@@ -19,13 +19,13 @@ USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
+CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}"
post-extract:
@${TOUCH} ${WRKSRC}/config.h.in
post-patch:
- @${REINPLACE_CMD} -e 's|-O2|-fPIC|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e 's|-O2|-fPIC|g; 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/editors/kile-kde4/Makefile b/editors/kile-kde4/Makefile
index 13e8af0c31e6..9f276e14ae75 100644
--- a/editors/kile-kde4/Makefile
+++ b/editors/kile-kde4/Makefile
@@ -25,6 +25,4 @@ USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} -e 's|-O2||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/editors/kile/Makefile b/editors/kile/Makefile
index 13e8af0c31e6..9f276e14ae75 100644
--- a/editors/kile/Makefile
+++ b/editors/kile/Makefile
@@ -25,6 +25,4 @@ USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} -e 's|-O2||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/finance/kexchange/Makefile b/finance/kexchange/Makefile
index c43bfc812662..12dcdffc71b4 100644
--- a/finance/kexchange/Makefile
+++ b/finance/kexchange/Makefile
@@ -22,6 +22,4 @@ USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} -e 's|-O2||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/german/kheisereg/Makefile b/german/kheisereg/Makefile
index 4b4ca6001030..81f83e0bbe12 100644
--- a/german/kheisereg/Makefile
+++ b/german/kheisereg/Makefile
@@ -17,11 +17,8 @@ USE_KDEBASE_VER= 3
GNU_CONFIGURE= yes
USE_REINPLACE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
post-patch:
- @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e 's|-O2||g; 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/print/kcdlabel/Makefile b/print/kcdlabel/Makefile
index 05a8b81bdc5d..156c0eafcc92 100644
--- a/print/kcdlabel/Makefile
+++ b/print/kcdlabel/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; 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/sysutils/kdirstat/Makefile b/sysutils/kdirstat/Makefile
index 1df41c74b014..b3fec077c360 100644
--- a/sysutils/kdirstat/Makefile
+++ b/sysutils/kdirstat/Makefile
@@ -21,8 +21,7 @@ USE_GMAKE= yes
USE_REINPLACE= yes
post-patch:
- @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e 's|-O2||g; 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>