ports/59275: Fix build error
Cheng-Lung Sung
clsung at dragon2.net
Fri Nov 14 03:30:26 UTC 2003
>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 at 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:
More information about the freebsd-ports-bugs
mailing list