diff options
Diffstat (limited to 'astro')
-rw-r--r-- | astro/kstars/Makefile | 7 |
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> |