pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
libunwind-git: reduce diff to what a non-git package would use
Module Name: pkgsrc-wip
Committed By: Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By: tnn
Date: Wed Feb 24 18:14:40 2016 +0100
Changeset: d83498d0a9b80d871aa72687d7ede64c8c97884d
Modified Files:
libunwind-git/Makefile
Log Message:
libunwind-git: reduce diff to what a non-git package would use
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d83498d0a9b80d871aa72687d7ede64c8c97884d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
libunwind-git/Makefile | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diffs:
diff --git a/libunwind-git/Makefile b/libunwind-git/Makefile
index f79813b..01a8067 100644
--- a/libunwind-git/Makefile
+++ b/libunwind-git/Makefile
@@ -4,16 +4,17 @@ PKGNAME= libunwind-3.9.0
CATEGORIES= lang devel
GIT_REPOSITORIES= libunwind
-GIT_REPO.libunwind= https://github.com/llvm-mirror/libunwind.git
+GIT_REPO.libunwind= https://github.com/llvm-mirror/libunwind.git
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://libunwind.llvm.org/
COMMENT= LLVM libunwind
LICENSE= modified-bsd
-WRKSRC= ${WRKDIR}
+WRKSRC= ${WRKDIR}/${PKGBASE}
CONFIGURE_DIRS= ${WRKDIR}/build
+USE_TOOLS+= pax
USE_LANGUAGES= c c++
USE_CMAKE+= yes
GCC_REQD+= 4.8
@@ -22,15 +23,15 @@ CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
CMAKE_ARGS+= -DCMAKE_C_COMPILER=gcc
CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=g++
-CMAKE_ARG_PATH= ${WRKDIR}/libunwind
+CMAKE_ARG_PATH= ${WRKSRC}
+
+INSTALLATION_DIRS= include
post-extract:
- ${RUN} mkdir -p ${WRKSRC}/build
+ ${RUN} mkdir -p ${WRKDIR}/build
post-install:
- ${RUN} mkdir -p ${DESTDIR}${PREFIX}/include
- ${RUN} cp -r ${WRKSRC}/libunwind/include/* ${DESTDIR}${PREFIX}/include
-
+ cd ${WRKSRC}/include && ${PAX} -rw . ${DESTDIR}${PREFIX}/include
.include "../../wip/mk/git-package.mk"
.include "../../wip/llvm-git/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index