1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- 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
This commit is contained in:
Cheng-Lung Sung 2005-03-08 03:39:19 +00:00
parent 6e580af3a7
commit 89274f141e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130583
2 changed files with 30 additions and 3 deletions

View File

@ -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

View File

@ -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); \