misc/85290: www/frontpage - missing dependancy and uninitalized variable in startup script

Scot Hetzel swhetzel at gmail.com
Thu Aug 25 16:02:10 GMT 2005


Attached is the patch for PR85290
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/frontpage/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile	9 Feb 2005 20:11:11 -0000	1.12
+++ Makefile	22 Jul 2005 06:40:54 -0000
@@ -51,6 +51,10 @@
 EXTRA_PATCHES=	fp_install.sparc
 .elif defined(WANT_BSDI_EXTENSIONS)
 EXTRA_PATCHES=	fp_install.bsdi
+.elif ${ARCH} == i386
+.if !exists(/usr/lib/compat/libc.so.4) && !exists(/usr/lib/libc.so.4)
+LIB_DEPENDS+=	c.4:${PORTSDIR}/misc/compat4x
+.endif
 .endif
 
 do-extract:
Index: files/frontpage.sh.in
===================================================================
RCS file: /home/ncvs/ports/www/frontpage/files/frontpage.sh.in,v
retrieving revision 1.1
diff -u -r1.1 frontpage.sh.in
--- files/frontpage.sh.in	9 Feb 2005 20:11:11 -0000	1.1
+++ files/frontpage.sh.in	22 Jul 2005 04:20:43 -0000
@@ -22,7 +22,7 @@
 frontpage_key() {
 
 	CUR_UMASK=`umask`
-	skdir=${prefix}/frontpage/version%%FP_VER%%/apache-fp
+	skdir=%%PREFIX%%/frontpage/version%%FP_VER%%/apache-fp
 	PERL=%%PERL5%%
 
 	# Alternate way of generating the suidkey file with out PERL


More information about the freebsd-bugs mailing list