ports/78571: [PATCH] www/slash: unbreak BROKEN

Cheng-Lung Sung clsung at tw.freebsd.org
Tue Mar 8 02:10:03 UTC 2005


>Number:         78571
>Category:       ports
>Synopsis:       [PATCH] www/slash: unbreak BROKEN
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 08 02:10:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Cheng-Lung Sung
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD FreeBSD.csie.NCTU.edu.tw 4.10-STABLE FreeBSD 4.10-STABLE #1: Mon Nov 15 22:13:47 CST 2004
>Description:
- in make phase, slash will install lots of modules into /usr/local/slash,
  so krisbot will complain about it.
- so I make it install in 'make install' instead of 'make' phase..
- also respect to PREFIX (not very important)

Port maintainer (autrijus at autrijus.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- slash-2.2.6.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/slash/Makefile,v
retrieving revision 1.11
diff -u -u -r1.11 Makefile
--- Makefile	28 Feb 2005 01:41:18 -0000	1.11
+++ Makefile	8 Mar 2005 02:03:57 -0000
@@ -20,7 +20,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS} \
 		${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
 
-BROKEN=		Incorrect pkg-plist
+MAKE_ARGS+=	SLASH_PREFIX=${PREFIX}/slash
 
 DOCS=		README INSTALL
 
Index: files/patch-Makefile
===================================================================
RCS file: /home/pcvs/ports/www/slash/files/patch-Makefile,v
retrieving revision 1.3
diff -u -u -r1.3 patch-Makefile
--- files/patch-Makefile	19 Oct 2003 08:33:39 -0000	1.3
+++ files/patch-Makefile	8 Mar 2005 02:03:57 -0000
@@ -1,5 +1,32 @@
---- Makefile.orig	Mon Mar 18 19:22:59 2002
-+++ Makefile	Mon Mar 18 19:22:25 2002
+--- Makefile.orig	Wed Jul  3 17:22:34 2002
++++ Makefile	Mon Mar  7 09:50:44 2005
+@@ -62,7 +62,7 @@
+ slash:
+ 	@echo "=== INSTALLING SLASH MODULES ==="
+ 	@if [ ! "$(RPM)" ] ; then \
+-		(cd Slash; $(PERL) Makefile.PL; make install UNINST=1); \
++		(cd Slash; $(PERL) Makefile.PL PREFIX=$(PREFIX); make install UNINST=1); \
+ 	else \
+ 		echo " - Performing an RPM build"; \
+ 		(cd Slash; $(PERL) Makefile.PL INSTALLSITEARCH=$(INSTALLSITEARCH) INSTALLSITELIB=$(INSTALLSITELIB) INSTALLMAN3DIR=$(INSTALLMAN3DIR); make install UNINST=1); \
+@@ -76,7 +76,7 @@
+ 		 echo == $$PWD; \
+ 		 if [ -f Makefile.PL ]; then \
+ 		 	if [ ! "$(RPM)" ] ; then \
+-				$(PERL) Makefile.PL; \
++				$(PERL) Makefile.PL PREFIX=$(PREFIX); \
+ 				make install UNINST=1;\
+ 			else \
+ 				echo " - Performing an RPM build."; \
+@@ -86,7 +86,7 @@
+ 		 fi); \
+ 	done)
+ 
+-all: install
++all:
+ 
+ install: slash plugins
+ 
 @@ -167,15 +167,11 @@
  			 	if [ -d $(INIT) ]; then 		\
  			 		init=$(INIT);				\
--- slash-2.2.6.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list