Date: Fri, 12 Jul 2002 20:59:09 +1000 (EST) From: Edwin Groothuis <edwin@mavetju.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: JY <leafy@leafy.idv.tw>, David Turnbull <dsturnbull@optushome.com.au> Subject: ports/40479: [patch] graphics/gd2 doesn't compile on 4.6 Message-ID: <20020712105909.50DA06A711E@k7.mavetju>
next in thread | raw e-mail | index | archive | help
>Number: 40479 >Category: ports >Synopsis: [patch] graphics/gd2 doesn't compile on 4.6 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jul 12 04:00:04 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 4.5-RELEASE i386 >Organization: - >Environment: $FreeBSD: ports/graphics/gd2/Makefile,v 1.52 2002/05/21 07:41:54 ijliao Exp $ >Description: graphics/gd2 refuses to compile under 4.6 (it does under 4.5). Message? It can't find bsd.lib.mk. Why? No idea. It's there, it just doesn't include it. >How-To-Repeat: cd /usr/ports/graphics/gd2 make >Fix: A patch for it is attached. I don't know why /usr/share/mk isn't taken as default for it. --- graphics/gd2/files/Makefile.bsd-old Tue May 21 19:20:04 2002 +++ graphics/gd2/files/Makefile.bsd Fri Jul 12 20:43:01 2002 @@ -8,7 +8,8 @@ INCS= gd.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h \ gdfonts.h gdfontt.h SHLIB_NAME!= make -V SHLIB_NAME LIB=${LIB} \ - SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR} -f bsd.lib.mk + SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR} \ + -f /usr/share/mk/bsd.lib.mk CFLAGS+=-I${.CURDIR} -I${LOCALBASE}/include/freetype2/ \ -I${LOCALBASE}/include/freetype2/freetype -I${LOCALBASE}/include \ @@ -33,17 +34,17 @@ make LIB=${LIB} SRCS="${SRCS}" \ SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR} \ CFLAGS="${CFLAGS}" -ECFLAGS LDADD="${LDADD}" \ - -f bsd.lib.mk ${.TARGET} + -f /usr/share/mk/bsd.lib.mk ${.TARGET} ${PROGS} ${TESTS}: ${SHLIB_NAME} lib${LIB}.a make PROG=${.TARGET} NOMAN=1 LDADD="-L. -lgd" \ - CFLAGS="${CFLAGS}" -ECFLAGS -f bsd.prog.mk + CFLAGS="${CFLAGS}" -ECFLAGS -f /usr/share/mk/bsd.prog.mk install: mkdir -p ${PREFIX}/include make LIB=${LIB} LIBDIR=${PREFIX}/lib NOPROFILE=true \ SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR} \ - -f bsd.lib.mk install + -f /usr/share/mk/bsd.lib.mk install cd ${.CURDIR} && ${INSTALL_DATA} ${INCS} ${PREFIX}/include cd ${.CURDIR} && ${INSTALL_PROGRAM} ${PROGS} ${PREFIX}/bin/ ${INSTALL_SCRIPT} ${.CURDIR}/bdftogd ${PREFIX}/bin/ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020712105909.50DA06A711E>