diff options
author | Max Khon <fjoe@FreeBSD.org> | 2003-04-30 12:15:55 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2003-04-30 12:15:55 +0000 |
commit | 530a158dffd501c71d1d9182087783d58864350a (patch) | |
tree | bc3c5c64c010b6b033536649834f0c6aeae7c578 /www | |
parent | Use ${PERL_ARCH} to fix building error on non-i386 architectures. (diff) |
Honor PREFIX when patching startup script
Submitted by: MAINTAINER
Notes
Notes:
svn path=/head/; revision=79913
Diffstat (limited to 'www')
-rw-r--r-- | www/middleman/Makefile | 3 | ||||
-rw-r--r-- | www/middleman/files/patch-aa | 14 |
2 files changed, 3 insertions, 14 deletions
diff --git a/www/middleman/Makefile b/www/middleman/Makefile index 5798f0807886..9654f2462134 100644 --- a/www/middleman/Makefile +++ b/www/middleman/Makefile @@ -32,6 +32,9 @@ CONFIGURE_ARGS+= --enable-debug post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|/usr/bin/mman|${PREFIX}/bin/mman|g' \ + -e 's|/etc/mman/config.xml|${PREFIX}/etc/mman.xml|g' \ + ${WRKSRC}/scripts/mman.init do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mman ${PREFIX}/bin diff --git a/www/middleman/files/patch-aa b/www/middleman/files/patch-aa deleted file mode 100644 index 0efef10d0024..000000000000 --- a/www/middleman/files/patch-aa +++ /dev/null @@ -1,14 +0,0 @@ ---- scripts/mman.init.orig Sun Apr 27 18:38:32 2003 -+++ scripts/mman.init Sun Apr 27 18:38:54 2003 -@@ -1,9 +1,9 @@ - #!/bin/sh - --PROGRAM=/usr/bin/mman -+PROGRAM=/usr/local/bin/mman - PIDFILE=/var/run/mman.pid - LOGFILE=/var/log/mman.log --CONFIG=/etc/mman/config.xml -+CONFIG=/usr/local/etc/mman.xml - LOGLEVEL=2047 - case "$1" in - start|--start) |