1 |
diff -Nrux .svn -x work /usr/ports/devel/libexecinfo/Makefile libexecinfo/Makefile |
2 |
--- /usr/ports/devel/libexecinfo/Makefile 2006-06-29 06:21:47.000000000 -0700 |
3 |
+++ libexecinfo/Makefile 2008-08-21 20:00:14.707413640 -0700 |
4 |
@@ -20,6 +20,12 @@ |
5 |
MAKE_FLAGS= LIBDIR=${PREFIX}/lib \ |
6 |
INCLUDEDIR=${PREFIX}/include |
7 |
|
8 |
+.include <bsd.port.pre.mk> |
9 |
+ |
10 |
+.if ${ARCH} == "amd64" |
11 |
+CFLAGS+= -fno-omit-frame-pointer |
12 |
+.endif |
13 |
+ |
14 |
PORTDOCS= README |
15 |
|
16 |
post-install: |
17 |
@@ -28,4 +34,4 @@ |
18 |
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} |
19 |
.endif |
20 |
|
21 |
-.include <bsd.port.mk> |
22 |
+.include <bsd.port.post.mk> |