10ce2c5ef7
This is a maintenance release containing only minor bug, warning and compilation fixes. * Fixed autocon warnings (Denis Leroy) * Ported to lame 3.100 (from Fedora) * G++ compile fixes (Nick Bailey) * Renamed xdao folder to gcdmaster (Denis Leroy) * pccts format security patch (from Fedora) * Fixed compile issues with glibc >= 2.12 * Gcdmaster segfault fix (Adrian Knoth) * Prevent a FTBFS on kfreebsd (Christoph Egger) * Also look in /etc/default/cdrdao config (Andrew Suffield) * Fix printf format security issues (Frantisek Kluknavsky Fedora) * Add missing options to man page (Honza Horák) * CD_TEXT fix for HL-DT-ST (Kees Cook) * Man page hyphen fixes (Markus Koschany) * Some updates to the old scsilib smake files (Ubuntu patches)
53 lines
1.6 KiB
Text
53 lines
1.6 KiB
Text
# $NetBSD: Makefile.common,v 1.16 2018/11/15 01:13:01 markd Exp $
|
|
#
|
|
# used by sysutils/cdrdao/Makefile
|
|
# used by sysutils/gcdmaster/Makefile
|
|
|
|
DISTNAME= cdrdao-${CDRDAO_VER}
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cdrdao/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= david@maxwell.net
|
|
HOMEPAGE= http://cdrdao.sourceforge.net/
|
|
COMMENT= Records audio or data CD-Rs in disk-at-once (DAO) mode
|
|
|
|
PATCHDIR= ${.CURDIR}/../../sysutils/cdrdao/patches
|
|
DISTINFO_FILE= ${.CURDIR}/../../sysutils/cdrdao/distinfo
|
|
|
|
CDRDAO_VER= 1.2.4
|
|
GNU_CONFIGURE= YES
|
|
USE_TOOLS+= gmake
|
|
USE_LANGUAGES= c c++
|
|
CONFIGURE_ARGS+= --with-pcctsbin=${PREFIX}/bin
|
|
CONFIGURE_ARGS+= --with-pcctsinc=${PREFIX}/include/pccts
|
|
CONFIGURE_ARGS+= --with-gtkmm-exec-prefix=/dev/null
|
|
# don't pick up an installed libcdda_paranoia
|
|
LDFLAGS+= -L../paranoia
|
|
LDFLAGS.SunOS= -lvolmgt -lnsl
|
|
|
|
CONFIGURE_ARGS.SunOS+= --with-scglib
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !empty(CC:M*gcc*)
|
|
MAKE_ENV+= CCOM=gcc
|
|
.endif
|
|
|
|
# override ARCH to avoid picking up a bad ${ARCH} during the build
|
|
MAKE_ENV+= ARCH=""
|
|
|
|
post-extract:
|
|
${CP} ${WRKSRC}/scsilib/RULES/os-freebsd.id ${WRKSRC}/scsilib/RULES/os-dragonfly.id
|
|
|
|
post-configure:
|
|
set -e; cd ${WRKSRC}/scsilib/RULES ; \
|
|
${TEST} -f netbsd-cc.rul || ${MV} i386-netbsd-cc.rul netbsd-cc.rul; \
|
|
${TEST} -f netbsd-gcc.rul || ${MV} i386-netbsd-gcc.rul netbsd-gcc.rul; \
|
|
${LN} -sf netbsd-gcc.rul ${MACHINE}-netbsd-gcc.rul; \
|
|
${LN} -sf netbsd-cc.rul ${MACHINE}-netbsd-cc.rul;
|
|
|
|
.include "../../audio/libao/buildlink3.mk"
|
|
.include "../../audio/libmad/buildlink3.mk"
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
|
.include "../../devel/pccts/buildlink3.mk"
|