Date: Fri, 14 Nov 2003 11:29:09 +0800 (CST) From: Cheng-Lung Sung <clsung@dragon2.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: clsung@tiger2.net Subject: ports/59275: Fix build error Message-ID: <20031114032909.C0D0315366@mail.dragon2.net> Resent-Message-ID: <200311140330.hAE3UO37025771@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 59275 >Category: ports >Synopsis: Fix build error >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Nov 13 19:30:23 PST 2003 >Closed-Date: >Last-Modified: >Originator: Cheng-Lung Sung >Release: FreeBSD 4.9-RELEASE i386 >Organization: FreeBSD @ Taiwan >Environment: System: FreeBSD sungsung.csie.nctu.edu.tw 4.9-RELEASE FreeBSD 4.9-RELEASE #5: Wed Oct 29 20:13:25 CST 2003 root@sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG i386 >Description: - Fix build error , noted by Kris. >How-To-Repeat: >Fix: diff -ruN /usr/ports/www/mod_musicindex/Makefile ./mod_musicindex/Makefile --- /usr/ports/www/mod_musicindex/Makefile Tue Nov 4 00:17:10 2003 +++ ./mod_musicindex/Makefile Fri Nov 14 11:22:52 2003 @@ -24,11 +24,15 @@ APXS?= ${LOCALBASE}/sbin/apxs APACHE_PORT?= ${PORTSDIR}/www/apache13 USE_GMAKE= yes +USE_REINPLACE= yes WRKSRC= ${WRKDIR}/libapache-mod-musicindex-${PORTVERSION} DOCS_HTMLIMAGES= directory.png musicindex.css fetch.png \ right_arrow.gif general.png sound.png +post-patch: + @${REINPLACE_CMD} -e 's|%%APACHEPATH%%|${LOCALBASE}/sbin/|g' ${WRKSRC}/Makefile + do-install: ${APXS} -i -A -n musicindex ${WRKSRC}/mod_musicindex.so .if !defined(NOPORTDOCS) @@ -38,5 +42,4 @@ .endfor .endif ${CAT} ${PKGMESSAGE} - .include <bsd.port.mk> diff -ruN /usr/ports/www/mod_musicindex/files/patch-Makefile ./mod_musicindex/files/patch-Makefile --- /usr/ports/www/mod_musicindex/files/patch-Makefile Tue Nov 4 00:17:10 2003 +++ ./mod_musicindex/files/patch-Makefile Fri Nov 14 11:19:18 2003 @@ -1,13 +1,24 @@ --- Makefile.orig Thu Oct 30 20:41:45 2003 -+++ Makefile Tue Nov 4 00:03:52 2003 -@@ -15,8 +15,8 @@ ++++ Makefile Fri Nov 14 11:18:57 2003 +@@ -8,16 +8,16 @@ + ## @todo auto-dep + + # the tools +-APXS = apxs +-APACHECTL = apachectl ++APXS = %%APACHEPATH%%apxs ++APACHECTL = %%APACHEPATH%%apachectl + CC = gcc + INSTALL = install # additional user defines, includes and libraries #DEF = -#INC = -#LIB = +-CFLAGS = -O2 -Wall +INC = -I/usr/local/include +LIB = -L/usr/local/lib - CFLAGS = -O2 -Wall ++#CFLAGS = -O2 -Wall DOCROOT = /var/www + # our own defines >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031114032909.C0D0315366>