aboutsummaryrefslogtreecommitdiffstats
path: root/biology/xdrawchem
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-06-19 04:35:18 +0800
committerthierry <thierry@FreeBSD.org>2006-06-19 04:35:18 +0800
commit44c3ab662aeb1b83ea0b78b621ad468cd10551c0 (patch)
tree69c0b3bd7081d577b7d03b38d841bf356deac949 /biology/xdrawchem
parent6e75f70e1ba8187024b8ef0c195f9d65c8751467 (diff)
downloadfreebsd-ports-gnome-44c3ab662aeb1b83ea0b78b621ad468cd10551c0.tar.gz
freebsd-ports-gnome-44c3ab662aeb1b83ea0b78b621ad468cd10551c0.tar.zst
freebsd-ports-gnome-44c3ab662aeb1b83ea0b78b621ad468cd10551c0.zip
Re-add CONFIGURE_TARGET and fix libm detection.
PR: ports/99072 (fu2) Submitted by: Josh Tolbert <hemi (at) puresimplicity.net> (maintainer)
Diffstat (limited to 'biology/xdrawchem')
-rw-r--r--biology/xdrawchem/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/biology/xdrawchem/Makefile b/biology/xdrawchem/Makefile
index 4ca26b2e2700..097273516e6b 100644
--- a/biology/xdrawchem/Makefile
+++ b/biology/xdrawchem/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xdrawchem
PORTVERSION= 1.9.9
+PORTREVISION= 1
CATEGORIES= biology
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xdrawchem
@@ -21,8 +22,11 @@ USE_GMAKE= yes
USE_QT_VER= 3
USE_X_PREFIX= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+
CONFIGURE_ENV= QTINCDIR="${X11BASE}/include" \
- QTLIBDIR="${X11BASE}/lib"
+ QTLIBDIR="${X11BASE}/lib" \
+ LDFLAGS="${LDFLAGS} -lm"
MAKE_ARGS+= LDFLAGS+="-lqt-mt ${PTHREAD_LIBS}"