aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-05-11 07:17:15 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-05-11 07:17:15 +0000
commitce78a1366dcb42cc53d52d55d0397818b52bf5d9 (patch)
tree09b2d2fdf9b82c4aa524d1ea98beed95d9bb0298
parent84d0c73b4ccb966912ff844634105c7c055068ef (diff)
downloadports-ce78a1366dcb42cc53d52d55d0397818b52bf5d9.tar.gz
ports-ce78a1366dcb42cc53d52d55d0397818b52bf5d9.zip
Notes
-rw-r--r--textproc/iiimf-client-lib/Makefile3
-rw-r--r--textproc/iiimf-client-lib/files/patch-lib_EIMIL_test_Makefile.in17
2 files changed, 19 insertions, 1 deletions
diff --git a/textproc/iiimf-client-lib/Makefile b/textproc/iiimf-client-lib/Makefile
index 035f31a02d40..35ac2ce63732 100644
--- a/textproc/iiimf-client-lib/Makefile
+++ b/textproc/iiimf-client-lib/Makefile
@@ -26,6 +26,7 @@ USE_GMAKE= yes
INSTALLS_SHLIB= yes
USE_REINPLACE= yes
HAS_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_FLAGS}" LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --prefix=${PREFIX} \
--includedir=${PREFIX}/include/iiimf
DIRS= lib/EIMIL lib/iiimcf
@@ -42,7 +43,7 @@ post-patch:
do-configure:
.for DIR in ${DIRS}
- cd ${WRKSRC}/${DIR} && ${SH} configure ${CONFIGURE_ARGS}
+ cd ${WRKSRC}/${DIR} && ${SETENV} ${CONFIGURE_ENV} ${SH} configure ${CONFIGURE_ARGS}
.endfor
do-build:
diff --git a/textproc/iiimf-client-lib/files/patch-lib_EIMIL_test_Makefile.in b/textproc/iiimf-client-lib/files/patch-lib_EIMIL_test_Makefile.in
new file mode 100644
index 000000000000..5240be6477c1
--- /dev/null
+++ b/textproc/iiimf-client-lib/files/patch-lib_EIMIL_test_Makefile.in
@@ -0,0 +1,17 @@
+--- lib/EIMIL/test/Makefile.in.orig Tue May 11 08:33:21 2004
++++ lib/EIMIL/test/Makefile.in Tue May 11 08:33:59 2004
+@@ -162,12 +162,12 @@
+ @AMDEP_TRUE@ ./$(DEPDIR)/flowtest-flowtest.Po \
+ @AMDEP_TRUE@ ./$(DEPDIR)/parsertest-parsertest.Po
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(THREAD_CXX_FLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
+ $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+- $(AM_LDFLAGS) $(LDFLAGS) -o $@
++ $(AM_LDFLAGS) $(LDFLAGS) $(THREAD_LDFLAGS) -o $@
+ DIST_SOURCES = $(arithtest_SOURCES) $(flowtest_SOURCES) \
+ $(parsertest_SOURCES)
+ DIST_COMMON = Makefile.am Makefile.in