aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-09-27 08:15:36 +0800
committerlioux <lioux@FreeBSD.org>2001-09-27 08:15:36 +0800
commit283357328059666c7098f03e64913ab4aa7a5402 (patch)
tree41b8ef668718964140e56864d5d835856b8832ab /astro
parent17b77334e0ed9bbcde8ce9cba2ee0225a631aba5 (diff)
downloadfreebsd-ports-gnome-283357328059666c7098f03e64913ab4aa7a5402.tar.gz
freebsd-ports-gnome-283357328059666c7098f03e64913ab4aa7a5402.tar.zst
freebsd-ports-gnome-283357328059666c7098f03e64913ab4aa7a5402.zip
o style fix: remove trailing spaces
o fix kde location o fix detection of jpeg library PR: 30852 Submitted by: MAINTAINER
Diffstat (limited to 'astro')
-rw-r--r--astro/kstars/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/astro/kstars/Makefile b/astro/kstars/Makefile
index aaad185cc0e2..a2d61cf99a06 100644
--- a/astro/kstars/Makefile
+++ b/astro/kstars/Makefile
@@ -15,6 +15,11 @@ MAINTAINER= pat@databits.net
GNU_CONFIGURE= yes
USE_KDELIBS_VER= 2
-USE_X_PREFIX= yes
+USE_X_PREFIX= yes
+CONFIGURE_ENV= KDEDIR="${LOCALBASE}"
+
+pre-patch:
+ @${PERL} -pi.orig -e 's|-ljpeg6b|-ljpeg|; \
+ s|-O2||' ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>