| @@ -1,16 +1,16 @@ | | | @@ -1,16 +1,16 @@ |
1 | # $NetBSD: Makefile,v 1.103 2014/01/02 17:51:14 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.104 2014/01/05 22:03:43 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= cdrtools-3.01a20 | | 3 | DISTNAME= cdrtools-3.01a21 |
4 | PKGNAME= ${DISTNAME:S/a/alpha/:S/-pre/pre/} | | 4 | PKGNAME= ${DISTNAME:S/a/alpha/:S/-pre/pre/} |
5 | CATEGORIES= sysutils | | 5 | CATEGORIES= sysutils |
6 | #MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/ \ | | 6 | #MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/ \ |
7 | # http://ftp.berlios.de/pub/cdrecord/ | | 7 | # http://ftp.berlios.de/pub/cdrecord/ |
8 | MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/alpha/ \ | | 8 | MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/alpha/ \ |
9 | http://ftp.berlios.de/pub/cdrecord/alpha/ | | 9 | http://ftp.berlios.de/pub/cdrecord/alpha/ |
10 | EXTRACT_SUFX= .tar.bz2 | | 10 | EXTRACT_SUFX= .tar.bz2 |
11 | | | 11 | |
12 | MAINTAINER= wiz@NetBSD.org | | 12 | MAINTAINER= wiz@NetBSD.org |
13 | HOMEPAGE= http://cdrecord.berlios.de/old/private/cdrecord.html | | 13 | HOMEPAGE= http://cdrecord.berlios.de/old/private/cdrecord.html |
14 | COMMENT= Software for creating ISO9660 images and writing CD/DVD/Blu-ray | | 14 | COMMENT= Software for creating ISO9660 images and writing CD/DVD/Blu-ray |
15 | #LICENSE= CDDL.Schily.txt AND gnu-gpl-v2 AND gnu-lgpl-v2.1 | | 15 | #LICENSE= CDDL.Schily.txt AND gnu-gpl-v2 AND gnu-lgpl-v2.1 |
16 | | | 16 | |
| @@ -22,32 +22,31 @@ WRKSRC= ${WRKDIR}/${DISTNAME:C/a[0-9]*/ | | | @@ -22,32 +22,31 @@ WRKSRC= ${WRKDIR}/${DISTNAME:C/a[0-9]*/ |
22 | | | 22 | |
23 | .include "../../mk/bsd.prefs.mk" | | 23 | .include "../../mk/bsd.prefs.mk" |
24 | | | 24 | |
25 | USE_TOOLS+= gm4 gmake tbl | | 25 | USE_TOOLS+= gm4 gmake tbl |
26 | | | 26 | |
27 | CFLAGS.NetBSD+= -DUSE_GETRAWPARTITION | | 27 | CFLAGS.NetBSD+= -DUSE_GETRAWPARTITION |
28 | LDFLAGS.NetBSD+= -lutil | | 28 | LDFLAGS.NetBSD+= -lutil |
29 | | | 29 | |
30 | # NetBSD 6.0 (and update releases) have incomplete implemenations of the | | 30 | # NetBSD 6.0 (and update releases) have incomplete implemenations of the |
31 | # "*at" system calls. Pretend that they aren't present at all to | | 31 | # "*at" system calls. Pretend that they aren't present at all to |
32 | # avoid build failures. | | 32 | # avoid build failures. |
33 | .if !empty(MACHINE_PLATFORM:MNetBSD-[5-6].*-*) && \ | | 33 | .if !empty(MACHINE_PLATFORM:MNetBSD-[5-6].*-*) && \ |
34 | empty(MACHINE_PLATFORM:MNetBSD-6.99.*-*) | | 34 | empty(MACHINE_PLATFORM:MNetBSD-6.99.*-*) |
35 | . for FUNC in faccessat fchmodat fchownat fexecve fstatat linkat mkdirat \ | | 35 | . for func in faccessat fchmodat fchownat fexecve fstatat linkat mkdirat \ |
36 | mkfifoat mknodat openat readlinkat renameat symlinkat unlinkat \ | | 36 | mkfifoat mknodat openat readlinkat renameat symlinkat unlinkat \ |
37 | utimensat | | 37 | utimensat |
38 | CONFIGURE_ENV+= ac_cv_func_${FUNC}=no | | 38 | CONFIGURE_ENV+= ac_cv_func_${func}=no |
39 | . endfor | | 39 | . endfor |
40 | . undef FUNC | | | |
41 | .endif | | 40 | .endif |
42 | | | 41 | |
43 | # avoid picking up a bad ${ARCH} during the build | | 42 | # avoid picking up a bad ${ARCH} during the build |
44 | MAKE_ENV+= ARCH="" | | 43 | MAKE_ENV+= ARCH="" |
45 | MAKE_ENV+= MAKEPROG="gmake" | | 44 | MAKE_ENV+= MAKEPROG="gmake" |
46 | MAKE_ENV+= COPTX=${CFLAGS:Q} | | 45 | MAKE_ENV+= COPTX=${CFLAGS:Q} |
47 | MAKE_ENV+= LDOPTX=${LDFLAGS:Q} | | 46 | MAKE_ENV+= LDOPTX=${LDFLAGS:Q} |
48 | MAKE_ENV+= INS_BASE=${PREFIX:Q} | | 47 | MAKE_ENV+= INS_BASE=${PREFIX:Q} |
49 | MAKE_FLAGS+= GMAKE_NOWARN=true | | 48 | MAKE_FLAGS+= GMAKE_NOWARN=true |
50 | # do we want to compile shared libraries? | | 49 | # do we want to compile shared libraries? |
51 | # needs changes in the install target and PLIST | | 50 | # needs changes in the install target and PLIST |
52 | #MAKE_ENV+= LINKMODE=dynamic | | 51 | #MAKE_ENV+= LINKMODE=dynamic |
53 | | | 52 | |