aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-27 03:32:46 +0800
committerkrion <krion@FreeBSD.org>2004-01-27 03:32:46 +0800
commit9142e87a0f638baa4bb7087540cf08044e2ce537 (patch)
tree4bf8dff78f7df557df3d15b466c6bd38568573a6 /astro
parent318307dcdfff4339b4bcadd2d37802613b12440d (diff)
downloadfreebsd-ports-gnome-9142e87a0f638baa4bb7087540cf08044e2ce537.tar.gz
freebsd-ports-gnome-9142e87a0f638baa4bb7087540cf08044e2ce537.tar.zst
freebsd-ports-gnome-9142e87a0f638baa4bb7087540cf08044e2ce537.zip
- Support CFLAGS properly
PR: ports/61950 Submitted by: Ports Fury
Diffstat (limited to 'astro')
-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'