aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2015-01-20 20:26:16 +0800
committerdanilo <danilo@FreeBSD.org>2015-01-20 20:26:16 +0800
commiteae818d3594e5216fddfaa0a8b89c16b0cc5fd39 (patch)
tree98258c1c6ccfcc2f7e4829c59ad943783c2bb556
parent6b2487308048e7ebc10d5212b34654de8515d596 (diff)
downloadfreebsd-ports-gnome-eae818d3594e5216fddfaa0a8b89c16b0cc5fd39.tar.gz
freebsd-ports-gnome-eae818d3594e5216fddfaa0a8b89c16b0cc5fd39.tar.zst
freebsd-ports-gnome-eae818d3594e5216fddfaa0a8b89c16b0cc5fd39.zip
- Add LICENSE
- Use USES=autoreconf - Strip shared library - Simplify PLIST_SUB manipulation - Bump PORTREVISION for package change PR: 196890 Submitted by: sunpoet
-rw-r--r--devel/libunwind/Makefile22
1 files changed, 8 insertions, 14 deletions
diff --git a/devel/libunwind/Makefile b/devel/libunwind/Makefile
index 103b822738bf..78c7c776d987 100644
--- a/devel/libunwind/Makefile
+++ b/devel/libunwind/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libunwind
PORTVERSION= 20121006 # This is actually official libunwind 1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SAVANNAH
DISTNAME= ${PORTNAME}-1.1
@@ -11,22 +11,16 @@ DISTNAME= ${PORTNAME}-1.1
MAINTAINER= danilo@FreeBSD.org
COMMENT= Generic stack unwinding library
+LICENSE= MIT
+
ONLY_FOR_ARCHS= i386 amd64
-USES= libtool pkgconfig pathfix
-PATHFIX_MAKEFILEIN= Makefile.am
GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
+PATHFIX_MAKEFILEIN= Makefile.am
USE_LDCONFIG= yes
-USE_AUTOTOOLS= aclocal autoheader automake autoconf libtoolize
-ACLOCAL_ARGS= -I . -I ${LOCALBASE}/share/aclocal
-AUTOMAKE_ARGS= -c -a
-
-.include <bsd.port.pre.mk>
+USES= autoreconf libtool pathfix pkgconfig
-.if ${ARCH} == i386
-PLIST_SUB= ARCH=x86
-.elif ${ARCH} == amd64
-PLIST_SUB= ARCH=x86_64
-.endif
+PLIST_SUB= ARCH=${ARCH:S|i386|x86|:S|amd64|x86_64|}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>