aboutsummaryrefslogtreecommitdiff
path: root/astro/libnova/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'astro/libnova/Makefile')
-rw-r--r--astro/libnova/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/astro/libnova/Makefile b/astro/libnova/Makefile
index 775af37e3cfe..86813780e1f7 100644
--- a/astro/libnova/Makefile
+++ b/astro/libnova/Makefile
@@ -8,6 +8,7 @@
PORTNAME= libnova
PORTVERSION= 0.9.0
+PORTREVISION= 1
CATEGORIES= astro
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,8 +16,12 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Astronomical Calculation Library
+USE_GNOME= gnometarget lthack
+USE_REINPLACE= yes
USE_LIBTOOL= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
+post-patch:
+ @${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
+
.include <bsd.port.mk>