diff options
author | clsung <clsung@FreeBSD.org> | 2005-03-08 11:39:19 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2005-03-08 11:39:19 +0800 |
commit | a2a74733914a2420effaf6c1f9978d6a95ef6e1e (patch) | |
tree | 90c507628297fe954487a61807fba5848e8f44c9 /www/slash | |
parent | 988c8ff046da52d2f9ab8a8611b88c7570705172 (diff) | |
download | freebsd-ports-gnome-a2a74733914a2420effaf6c1f9978d6a95ef6e1e.tar.gz freebsd-ports-gnome-a2a74733914a2420effaf6c1f9978d6a95ef6e1e.tar.zst freebsd-ports-gnome-a2a74733914a2420effaf6c1f9978d6a95ef6e1e.zip |
- 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)
! I'll contact maintainer later.
PR: 78571
Submitted by: clsung
Diffstat (limited to 'www/slash')
-rw-r--r-- | www/slash/Makefile | 2 | ||||
-rw-r--r-- | www/slash/files/patch-Makefile | 31 |
2 files changed, 30 insertions, 3 deletions
diff --git a/www/slash/Makefile b/www/slash/Makefile index 04c05e2b2cbf..f46fe02419e1 100644 --- a/www/slash/Makefile +++ b/www/slash/Makefile @@ -20,7 +20,7 @@ BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-D 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 diff --git a/www/slash/files/patch-Makefile b/www/slash/files/patch-Makefile index d4b5b649434b..b508e3654805 100644 --- a/www/slash/files/patch-Makefile +++ b/www/slash/files/patch-Makefile @@ -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); \ |