aboutsummaryrefslogtreecommitdiff
path: root/devel/mpatrol
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-02-14 09:42:12 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-02-14 09:42:12 +0000
commit03cceed935615886af3d9551e9fb9b573ce3744a (patch)
treefefb362514ed477cab8a0c201ef842c790185635 /devel/mpatrol
parentf2a68ebb7a9de69a3ae4d9df85ad0471ad8deab9 (diff)
downloadports-03cceed935615886af3d9551e9fb9b573ce3744a.tar.gz
ports-03cceed935615886af3d9551e9fb9b573ce3744a.zip
Notes
Diffstat (limited to 'devel/mpatrol')
-rw-r--r--devel/mpatrol/Makefile2
-rw-r--r--devel/mpatrol/files/patch-Makefile4
2 files changed, 2 insertions, 4 deletions
diff --git a/devel/mpatrol/Makefile b/devel/mpatrol/Makefile
index 8d4082d948db..65f186201444 100644
--- a/devel/mpatrol/Makefile
+++ b/devel/mpatrol/Makefile
@@ -22,8 +22,6 @@ ONLY_FOR_ARCHS= i386 amd64
USE_LDCONFIG= yes
USE_GMAKE= yes
-MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
MAN1= hexwords.1 mleak.1 mpatrol.1 mprof.1 \
mpsym.1 mptrace.1 mpedit.1
diff --git a/devel/mpatrol/files/patch-Makefile b/devel/mpatrol/files/patch-Makefile
index d25ad3af18dd..cba7c91dcab2 100644
--- a/devel/mpatrol/files/patch-Makefile
+++ b/devel/mpatrol/files/patch-Makefile
@@ -24,7 +24,7 @@ $FreeBSD$
SFLAGS = -fPIC
-TFLAGS = -DMP_THREADS_SUPPORT
-LDFLAGS = -shared
-+TFLAGS = -DMP_THREADS_SUPPORT $(PTHREAD_CFLAGS)
++TFLAGS = -DMP_THREADS_SUPPORT -pthread
+LDFLAGS = -shared -L$(LOCALBASE)/lib -lelf -lintl
MPATROL = mpatrol
@@ -49,7 +49,7 @@ $FreeBSD$
-$(SHARTS_MPATROL).$(VERSION).$(REVISION): $(SHARTS_MPTOBJS)
- $(LD) $(LDFLAGS) -o $@ $(SHARTS_MPTOBJS)
+$(SHARTS_MPATROL).$(VERSION): $(SHARTS_MPTOBJS)
-+ $(LD) $(LDFLAGS) $(PTHREAD_LIBS) -o $@ $(SHARTS_MPTOBJS)
++ $(LD) $(LDFLAGS) -pthread -o $@ $(SHARTS_MPTOBJS)
-$(SHARTS_MPATROL): $(SHARTS_MPATROL).$(VERSION).$(REVISION)
+$(SHARTS_MPATROL): $(SHARTS_MPATROL).$(VERSION)