aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-09-27 00:15:36 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-09-27 00:15:36 +0000
commit841ecb9fff50d556ba5fb28e8c4ec6cad8fc856e (patch)
treeaaa1bcc2e0bba27c674dc72f3626665ac4cf5ed7 /astro
parente833ba5e59b726fd3655647639c843a79b4e08fa (diff)
downloadports-841ecb9fff50d556ba5fb28e8c4ec6cad8fc856e.tar.gz
ports-841ecb9fff50d556ba5fb28e8c4ec6cad8fc856e.zip
Notes
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>