summaryrefslogtreecommitdiff
path: root/astro/kstars
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/kstars
parentFix DATADIR and DOCSDIR installation since this port has PKGNAMESUFFIX (diff)
o style fix: remove trailing spaces
o fix kde location o fix detection of jpeg library PR: 30852 Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=48214
Diffstat (limited to 'astro/kstars')
-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>