| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.48 2014/05/14 04:39:06 rodent Exp $ | | 1 | # $NetBSD: Makefile,v 1.49 2014/06/26 20:08:53 asau Exp $ |
2 | | | 2 | |
3 | DISTNAME= dar-2.4.13 | | 3 | DISTNAME= dar-2.4.13 |
4 | CATEGORIES= archivers sysutils | | 4 | CATEGORIES= archivers sysutils |
5 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dar/} | | 5 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dar/} |
6 | | | 6 | |
7 | MAINTAINER= pkgsrc-users@NetBSD.org | | 7 | MAINTAINER= pkgsrc-users@NetBSD.org |
8 | HOMEPAGE= http://dar.linux.free.fr/ | | 8 | HOMEPAGE= http://dar.linux.free.fr/ |
9 | COMMENT= Disk archiver | | 9 | COMMENT= Disk archiver |
10 | LICENSE= gnu-gpl-v2 | | 10 | LICENSE= gnu-gpl-v2 |
11 | | | 11 | |
12 | PKG_INSTALLATION_TYPES= overwrite pkgviews | | 12 | PKG_INSTALLATION_TYPES= overwrite pkgviews |
13 | | | 13 | |
14 | USE_LANGUAGES= c c++ | | 14 | USE_LANGUAGES= c c++ |
| @@ -93,25 +93,25 @@ UNLIMIT_RESOURCES= datasize | | | @@ -93,25 +93,25 @@ UNLIMIT_RESOURCES= datasize |
93 | CPPFLAGS.SunOS+= -D__EXTENSIONS__ | | 93 | CPPFLAGS.SunOS+= -D__EXTENSIONS__ |
94 | | | 94 | |
95 | .include "../../mk/bsd.fast.prefs.mk" | | 95 | .include "../../mk/bsd.fast.prefs.mk" |
96 | | | 96 | |
97 | ## Build a static binary with threads is currently broken with glibc. | | 97 | ## Build a static binary with threads is currently broken with glibc. |
98 | .if ${OPSYS} == "Linux" && !empty(PKG_OPTIONS:Mthreads) | | 98 | .if ${OPSYS} == "Linux" && !empty(PKG_OPTIONS:Mthreads) |
99 | SUBST_CLASSES+= static | | 99 | SUBST_CLASSES+= static |
100 | SUBST_STAGE.static= post-patch | | 100 | SUBST_STAGE.static= post-patch |
101 | SUBST_MESSAGE.static= Changing -all-static to -static | | 101 | SUBST_MESSAGE.static= Changing -all-static to -static |
102 | SUBST_FILES.static= src/testing/Makefile.in | | 102 | SUBST_FILES.static= src/testing/Makefile.in |
103 | SUBST_SED.static= -e 's,-all-static,-static,g' | | 103 | SUBST_SED.static= -e 's,-all-static,-static,g' |
104 | .endif | | 104 | .endif |
105 | | | 105 | |
106 | .if ${OPSYS} == "NetBSD" | | 106 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" |
107 | BUILDLINK_TRANSFORM= l:execinfo:execinfo:elf | | 107 | BUILDLINK_TRANSFORM= l:execinfo:execinfo:elf |
108 | .endif | | 108 | .endif |
109 | | | 109 | |
110 | .include "../../archivers/bzip2/buildlink3.mk" | | 110 | .include "../../archivers/bzip2/buildlink3.mk" |
111 | .include "../../devel/libexecinfo/buildlink3.mk" | | 111 | .include "../../devel/libexecinfo/buildlink3.mk" |
112 | .include "../../devel/gettext-lib/buildlink3.mk" | | 112 | .include "../../devel/gettext-lib/buildlink3.mk" |
113 | .include "../../devel/zlib/buildlink3.mk" | | 113 | .include "../../devel/zlib/buildlink3.mk" |
114 | .include "../../mk/pthread.buildlink3.mk" | | 114 | .include "../../mk/pthread.buildlink3.mk" |
115 | .include "../../security/libgcrypt/buildlink3.mk" | | 115 | .include "../../security/libgcrypt/buildlink3.mk" |
116 | | | 116 | |
117 | .include "../../mk/bsd.pkg.mk" | | 117 | .include "../../mk/bsd.pkg.mk" |