aboutsummaryrefslogtreecommitdiff
path: root/astro/libnova
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-01-26 19:32:46 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-01-26 19:32:46 +0000
commit00e0e025de01ae3cb8de162ea91ab04831c00c23 (patch)
tree670a993c2fbc35cdfec4d86064f8da0b3c98ff95 /astro/libnova
parent799dd10f1c0a7407f44300ef55081a69d337bfc1 (diff)
downloadports-00e0e025de01ae3cb8de162ea91ab04831c00c23.tar.gz
ports-00e0e025de01ae3cb8de162ea91ab04831c00c23.zip
- Support CFLAGS properly
PR: ports/61950 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=99214
Diffstat (limited to 'astro/libnova')
-rw-r--r--astro/libnova/Makefile7
-rw-r--r--astro/libnova/files/patch-configure10
2 files changed, 6 insertions, 11 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>
diff --git a/astro/libnova/files/patch-configure b/astro/libnova/files/patch-configure
deleted file mode 100644
index 555bae5e88d9..000000000000
--- a/astro/libnova/files/patch-configure
+++ /dev/null
@@ -1,10 +0,0 @@
---- configure.orig Wed Oct 23 16:35:47 2002
-+++ configure Wed Oct 23 16:36:13 2002
-@@ -6163,6 +6163,7 @@
-
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
-
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'