diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-10-29 04:47:25 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-10-29 04:47:25 +0000 |
commit | 8c46d27d7c51f4baa767397b0c2f8ce5aa21dc3e (patch) | |
tree | b4343e45aace29ac9102c2daa545bf32d8eb54b6 /sysutils | |
parent | Update to 1.99.2. (diff) |
Unbreak build of sysutils/lcdproc
PR: ports/44213
Submitted by: Sergei Kolobov <sergei@kolobov.com>
Notes
Notes:
svn path=/head/; revision=69072
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/lcdproc/Makefile | 7 | ||||
-rw-r--r-- | sysutils/lcdproc/files/LCDd.sh.sample | 2 | ||||
-rw-r--r-- | sysutils/lcdproc/files/patch-configure | 19 |
3 files changed, 22 insertions, 6 deletions
diff --git a/sysutils/lcdproc/Makefile b/sysutils/lcdproc/Makefile index e81ef387ac48..830ae6ef9e83 100644 --- a/sysutils/lcdproc/Makefile +++ b/sysutils/lcdproc/Makefile @@ -16,16 +16,13 @@ MAINTAINER= ports@FreeBSD.org ONLY_FOR_ARCHS= i386 GNU_CONFIGURE= yes +USE_REINPLACE= yes MAN1= lcdproc.1 MAN8= LCDd.8 pre-patch: - @${CP} ${WRKSRC}/configure ${WRKSRC}/configure.orig - @${SED} -e 's|CFLAGS=\"-O3\"||' ${WRKSRC}/configure.orig \ - > ${WRKSRC}/configure - @${CP} ${FILESDIR}/LCDd.sh.sample ${WRKSRC}/LCDd.sh.sample.orig - @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/LCDd.sh.sample.orig \ + @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/LCDd.sh.sample \ > ${WRKSRC}/LCDd.sh.sample post-install: diff --git a/sysutils/lcdproc/files/LCDd.sh.sample b/sysutils/lcdproc/files/LCDd.sh.sample index 0dd134129a0d..70b56f17d172 100644 --- a/sysutils/lcdproc/files/LCDd.sh.sample +++ b/sysutils/lcdproc/files/LCDd.sh.sample @@ -2,7 +2,7 @@ case "$1" in start) - %%PREFIX%%/bin/LCDd -c %%PREFIX%%/etc/LCDd.conf + /usr/local/bin/LCDd -c /usr/local/etc/LCDd.conf echo -n " drm-kmod" ;; stop) diff --git a/sysutils/lcdproc/files/patch-configure b/sysutils/lcdproc/files/patch-configure new file mode 100644 index 000000000000..72052debadca --- /dev/null +++ b/sysutils/lcdproc/files/patch-configure @@ -0,0 +1,19 @@ +--- configure.orig Fri Oct 18 20:16:40 2002 ++++ configure Fri Oct 18 20:23:32 2002 +@@ -886,7 +886,7 @@ + if test $debug = "yes"; then + CFLAGS="-g -O" + else +- CFLAGS="-O3" ++ + fi + CFLAGS="-Wall $CFLAGS" + export CFLAGS +@@ -2902,6 +2902,7 @@ + + echo $ac_n "checking for your mounted filesystem table""... $ac_c" 1>&6 + echo "configure:2905: checking for your mounted filesystem table" >&5 ++ac_cv_mtab_file=/etc/fstab + if eval "test \"`echo '$''{'ac_cv_mtab_file'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else |