Date: Sat, 5 Oct 2002 01:03:03 -0700 (PDT) From: KATO Tsuguru <tkato@prontomail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/43687: Update port: x11-toolkits/mesgui Message-ID: <200210050803.g95833bw054319@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 43687 >Category: ports >Synopsis: Update port: x11-toolkits/mesgui >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 05 01:10:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.6.2-RELEASE i386 >Organization: >Environment: >Description: - Fix build >How-To-Repeat: >Fix: diff -urN /usr/ports/x11-toolkits/mesgui/Makefile x11-toolkits/mesgui/Makefile --- /usr/ports/x11-toolkits/mesgui/Makefile Thu Jul 25 02:12:20 2002 +++ x11-toolkits/mesgui/Makefile Sat Oct 5 14:54:49 2002 @@ -13,19 +13,33 @@ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12 \ - freetype:${PORTSDIR}/print/freetype2 +LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 \ + freetype.9:${PORTSDIR}/print/freetype2 + +SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config USE_REINPLACE= yes USE_MESA= yes USE_GMAKE= yes -MAKE_ENV= OPT="-I${LOCALBASE}/include -I${X11BASE}/include" +MAKE_ENV= OPT="${OPT}" LDFLAGS="${LDFLAGS}" INSTALLS_SHLIB= yes +OPT= ${CFLAGS} -fPIC -DPIC -Iinclude \ + `${SDL_CONFIG} --cflags` `freetype-config --cflags` \ + -I${LOCALBASE}/include -I${X11BASE}/include +LDFLAGS= `${SDL_CONFIG} --libs` `freetype-config --libs` \ + -L${LOCALBASE}/lib -L${X11BASE}/lib + post-patch: - @${REINPLACE_CMD} -e "s|^CC|#CC|g" -e "s,OPT =,OPT+=,g" \ - -e "s|-I/usr|-I${LOCALBASE}|g" -e "s,SDL,SDL11,g" \ - ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|^CC|#CC|g ; \ + s|^OPT|#OPT|g ; \ + s|gcc|\$$\(CC\)|g ; \ + s|-lc|\$$\(LDFLAGS\)|g' ${WRKSRC}/Makefile + @cd ${WRKSRC}/src && \ + for file in * ; do \ + ${MV} $${file} $${file}.pre_tr ; \ + ${TR} -d "\r" < $${file}.pre_tr > $${file} ; \ + done do-install: ${INSTALL_DATA} ${WRKSRC}/include/mesgui.h ${PREFIX}/include >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?200210050803.g95833bw054319>