summaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-03-27 16:29:28 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-03-27 16:29:28 +0000
commitbb5439929387b1375fed99d582744b03d7708a4a (patch)
treec588fb384e145a5fb2bde00aba6ef4032adf3d66 /science
parent- Update patch-Makefile.in (I forgot it in my last commit), fix build. (diff)
- Fix after objformat removal
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=188566
Diffstat (limited to 'science')
-rw-r--r--science/libint/Makefile9
-rw-r--r--science/minc2/Makefile4
2 files changed, 7 insertions, 6 deletions
diff --git a/science/libint/Makefile b/science/libint/Makefile
index 13bc61396b6f..0c637bd76225 100644
--- a/science/libint/Makefile
+++ b/science/libint/Makefile
@@ -19,14 +19,15 @@ USE_GMAKE= yes
USE_LDCONFIG= yes
ALL_TARGET= # empty
-.include <bsd.port.pre.mk>
-
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--enable-shared
+CONFIGURE_ARGS= --enable-shared
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
post-install:
@${LN} -sf ${PREFIX}/lib/libderiv-stable.so.1 ${PREFIX}/lib/libderiv.so.1
@${LN} -sf ${PREFIX}/lib/libint-stable.so.1 ${PREFIX}/lib/libint.so.1
@${LN} -sf ${PREFIX}/lib/libr12-stable.so.1 ${PREFIX}/lib/libr12.so.1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/science/minc2/Makefile b/science/minc2/Makefile
index 41ed616e2b81..9fbb9f3dc453 100644
--- a/science/minc2/Makefile
+++ b/science/minc2/Makefile
@@ -27,8 +27,8 @@ COMMENT= Medical Imaging NetCDF
LIB_DEPENDS= netcdf.1:${PORTSDIR}/science/netcdf \
hdf5.0:${PORTSDIR}/science/hdf5
-INSTALLS_SHLIB= yes
-GNU_CONFIGURE= yes
+USE_AUTOTOOLS= libtool:15
+USE_LDCONFIG= yes
USE_GCC= 3.2+
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"