View | Details | Raw Unified | Return to bug 54903
Collapse All | Expand All

(-)misc/gretl/Makefile (-9 / +8 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	gretl
9
PORTNAME=	gretl
10
PORTVERSION=	1.0.9
10
PORTVERSION=	1.1.0
11
CATEGORIES=	misc
11
CATEGORIES=	misc
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 16-30 Link Here
16
COMMENT=	Gnu Regression, Econometrics and Time-series Library
16
COMMENT=	Gnu Regression, Econometrics and Time-series Library
17
17
18
BUILD_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
18
BUILD_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
19
LIB_DEPENDS=	gmp.6:${PORTSDIR}/math/libgmp4
19
LIB_DEPENDS=	lapack.3:${PORTSDIR}/math/lapack \
20
		gmp.6:${PORTSDIR}/math/libgmp4
20
RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
21
RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
21
22
22
USE_BZIP2=	yes
23
USE_BZIP2=	yes
23
USE_X_PREFIX=	yes
24
USE_X_PREFIX=	yes
24
USE_GMAKE=	yes
25
WANT_GNOME=	yes
25
WANT_GNOME=	yes
26
USE_GNOME=	gnometarget gtk20 libxml2
26
USE_GNOME=	gnometarget gtk20 libxml2
27
USE_AUTOCONF_VER=	253
27
USE_REINPLACE=	yes
28
USE_GMAKE=	yes
29
GNU_CONFIGURE=	yes
28
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
30
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
29
		LDFLAGS="-L${LOCALBASE}/lib"
31
		LDFLAGS="-L${LOCALBASE}/lib"
30
CONFIGURE_ARGS=	--enable-static --enable-shared --with-gmake
32
CONFIGURE_ARGS=	--enable-static --enable-shared --with-gmake
Lines 43-52 Link Here
43
PLIST_SUB+=	GRETLDATADIR="share"
45
PLIST_SUB+=	GRETLDATADIR="share"
44
.endif
46
.endif
45
47
46
.if defined(WITH_LAPACK)
48
post-patch:
47
LIB_DEPENDS+=	lapack.3:${PORTSDIR}/math/lapack
49
	@${REINPLACE_CMD} -e 's|libpng"|libpng12"|g' ${WRKSRC}/configure
48
.else
49
CONFIGURE_ARGS+=	--with-lapack=no
50
.endif
51
50
52
.include <bsd.port.post.mk>
51
.include <bsd.port.post.mk>
(-)misc/gretl/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (gretl-1.0.9.tar.bz2) = 4c723cb1e275e7ba31d8b7371bbc5133
1
MD5 (gretl-1.1.0.tar.bz2) = 72c093f9a975153d5c449ce6506a9e63
(-)misc/gretl/files/patch-cli::Makefile.in (-10 / +8 lines)
Lines 1-6 Link Here
1
--- cli/Makefile.in.orig	Mon Apr 28 21:44:49 2003
1
--- cli/Makefile.in.orig	Sun Jun 29 04:06:18 2003
2
+++ cli/Makefile.in	Sun May  4 03:10:33 2003
2
+++ cli/Makefile.in	Fri Jul 25 20:49:23 2003
3
@@ -9,7 +9,7 @@
3
@@ -9,12 +9,16 @@
4
 exec_prefix = @exec_prefix@
4
 exec_prefix = @exec_prefix@
5
 bindir = @bindir@
5
 bindir = @bindir@
6
 datadir = @datadir@
6
 datadir = @datadir@
Lines 9-17 Link Here
9
 
9
 
10
 have_readline = @have_readline@
10
 have_readline = @have_readline@
11
 READLINE_LIBS = @READLINE_LIBS@
11
 READLINE_LIBS = @READLINE_LIBS@
12
@@ -17,6 +17,10 @@
12
 READLINE_CFLAGS = @READLINE_CFLAGS@
13
 
14
 GMP_CFLAGS = @GMP_CFLAGS@
15
 
13
 
16
+CPPFLAGS = @CPPFLAGS@
14
+CPPFLAGS = @CPPFLAGS@
17
+LDFLAGS = @LDFLAGS@
15
+LDFLAGS = @LDFLAGS@
Lines 20-35 Link Here
20
 ifeq ($(CC),)
18
 ifeq ($(CC),)
21
   CC = gcc
19
   CC = gcc
22
 endif
20
 endif
23
@@ -41,7 +45,7 @@
21
@@ -39,7 +43,7 @@
24
 
22
 
25
 DEFS = -DLOCALEDIR=\"$(localedir)\" -DHAVE_CONFIG_H
23
 DEFS = -DLOCALEDIR=\"$(localedir)\" -DHAVE_CONFIG_H
26
 
24
 
27
-override CFLAGS += -I.. -I$(topsrc) -I$(libsrc) $(GMP_CFLAGS) $(READLINE_CFLAGS) $(DEFS)
25
-override CFLAGS += -I.. -I$(topsrc) -I$(libsrc) $(READLINE_CFLAGS) $(DEFS)
28
+override CFLAGS += -I.. -I$(topsrc) -I$(libsrc) $(GMP_CFLAGS) $(READLINE_CFLAGS) $(DEFS) $(CPPFLAGS)
26
+override CFLAGS += -I.. -I$(topsrc) -I$(libsrc) $(READLINE_CFLAGS) $(DEFS) $(CPPFLAGS)
29
 
27
 
30
 CLI = gretlcli
28
 CLI = gretlcli
31
 LIBTOOL = ../libtool
29
 LIBTOOL = ../libtool
32
@@ -51,7 +55,7 @@
30
@@ -49,7 +53,7 @@
33
 	$(CC) -MM -MG -I$(libsrc) $(DEFS) $< >$*.d 2>/dev/null
31
 	$(CC) -MM -MG -I$(libsrc) $(DEFS) $< >$*.d 2>/dev/null
34
 
32
 
35
 $(CLI): $(OBJS)
33
 $(CLI): $(OBJS)
(-)misc/gretl/files/patch-configure.in (-52 lines)
Lines 1-52 Link Here
1
--- configure.in.orig	Fri May  2 00:17:37 2003
2
+++ configure.in	Fri May 23 12:31:12 2003
3
@@ -169,6 +169,16 @@
4
 fi,
5
 try_gmp=yes)
6
 
7
+AC_ARG_WITH(lapack,
8
+[  --with-lapack Use LAPACK library [default=auto]],
9
+if test "x${withval}" = "xno"
10
+then
11
+  try_lapack=no
12
+else
13
+  try_lapack=yes
14
+fi,
15
+try_lapack=yes)
16
+
17
 AC_ARG_WITH(x-12-arima,
18
 [  --with-x-12-arima     include X-12-ARIMA support [default=yes]],
19
 if test "${withval}" = "no"
20
@@ -277,7 +287,9 @@
21
   *darwin*) LAPACK_LIBS="-Wl,-framework -Wl,vecLib"
22
   ;; 
23
 esac
24
-AM_PATH_LAPACK(, have_lapack="yes")
25
+if test x"${try_lapack}" != xno ; then
26
+  AM_PATH_LAPACK(, have_lapack="yes")
27
+fi
28
 
29
 dnl
30
 dnl Check for gnuplot, and its PNG capacity
31
@@ -392,7 +404,7 @@
32
 dnl Check for libpng
33
 dnl
34
 if test ${png_comments} = yes && test ${have_gtk} = "2.0" ; then
35
-    PKG_CHECK_MODULES(PNG, libpng,
36
+    PKG_CHECK_MODULES(PNG, libpng12,
37
         png_failed="no",
38
 	png_failed="yes"
39
    )
40
@@ -557,12 +569,6 @@
41
 echo "
42
 Please install libxml and then reconfigure gretl.
43
 libxml is available from http://xmlsoft.org/
44
-"
45
-
46
-elif test "${have_lapack}" = "no" ; then
47
-echo "
48
-Please install lapack and then reconfigure gretl.
49
-Lapack is available from http://www.netlib.org/lapack/
50
 "
51
 
52
 else
(-)misc/gretl/files/patch-lib::Makefile.in (-15 / +15 lines)
Lines 1-7 Link Here
1
--- lib/Makefile.in.orig	Sun May 25 04:04:32 2003
1
--- lib/Makefile.in.orig	Sun Jun 29 04:06:20 2003
2
+++ lib/Makefile.in	Tue May 27 09:33:13 2003
2
+++ lib/Makefile.in	Fri Jul 25 20:47:07 2003
3
@@ -17,6 +17,11 @@
3
@@ -18,6 +18,11 @@
4
 FLIB = @FLIB@
4
 
5
 have_gtk = @have_gtk@
5
 have_gtk = @have_gtk@
6
 
6
 
7
+datadir = @datadir@
7
+datadir = @datadir@
Lines 12-18 Link Here
12
 ifeq ($(INSTALL_PROGRAM),)
12
 ifeq ($(INSTALL_PROGRAM),)
13
   INSTALL_PROGRAM = $(INSTALL) -m 755
13
   INSTALL_PROGRAM = $(INSTALL) -m 755
14
 endif
14
 endif
15
@@ -31,7 +36,7 @@
15
@@ -32,7 +37,7 @@
16
 libdir = $(prefix)/lib
16
 libdir = $(prefix)/lib
17
 includedir = $(prefix)/include/gretl
17
 includedir = $(prefix)/include/gretl
18
 aclocaldir = $(prefix)/share/aclocal
18
 aclocaldir = $(prefix)/share/aclocal
Lines 21-36 Link Here
21
 
21
 
22
 INSTALLDIRS = $(libdir) $(includedir) $(aclocaldir)
22
 INSTALLDIRS = $(libdir) $(includedir) $(aclocaldir)
23
 
23
 
24
@@ -47,7 +52,7 @@
24
@@ -48,7 +53,7 @@
25
 
25
 
26
 # The LIBS line may need FLIB (-lf2c or equivalent)  at some point
26
 # hard-coded -L/usr/local/lib is a bodge!!
27
 
27
 
28
-LIBS = -lm -ldl -L/usr/local/lib -lz $(XML_LIBS) $(GLIB_LIBS) $(GMP_LIBS)
28
-LIBS = $(LAPACK_LIBS) -lm -ldl -L/usr/local/lib -lz $(XML_LIBS) $(GLIB_LIBS) $(GMP_LIBS)
29
+LIBS = -lm -lz $(XML_LIBS) $(GLIB_LIBS) $(GMP_LIBS) $(INTL_LIBS)
29
+LIBS = $(LAPACK_LIBS) -lm -lz $(XML_LIBS) $(GLIB_LIBS) $(GMP_LIBS) $(INTL_LIBS)
30
 
30
 
31
 #### End of system configuration section. ####
31
 #### End of system configuration section. ####
32
 
32
 
33
@@ -83,7 +88,7 @@
33
@@ -76,7 +81,7 @@
34
 
34
 
35
 LIBTOOL = ../libtool
35
 LIBTOOL = ../libtool
36
 
36
 
Lines 39-50 Link Here
39
 
39
 
40
 COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS)
40
 COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS)
41
 
41
 
42
@@ -93,7 +98,7 @@
42
@@ -86,7 +91,7 @@
43
 
43
 
44
 $(LIBGRETL): $(OBJS) $(LOBJS) $(AUX_OBJ) $(AUX_LOBJ)
44
 $(LIBGRETL): $(LOBJS) $(AUX_LOBJ)
45
 	$(LIBTOOL) --mode=link $(CC) -o $@ $(LOBJS) $(AUX_LOBJ) \
45
 	$(LIBTOOL) --mode=link $(CC) -o $@ $(LOBJS) $(AUX_LOBJ) \
46
-	-rpath $(prefix)/lib $(LIBS) -version-info 0:8:0
46
-	-rpath $(prefix)/lib $(LIBS) -version-info 0:9:0
47
+	-rpath $(prefix)/lib $(LIBS) -version-info 0:8:0 $(LDFLAGS)
47
+	-rpath $(prefix)/lib $(LIBS) -version-info 0:9:0 $(LDFLAGS)
48
 
48
 
49
 -include $(OBJS:.o=.d)
49
 -include $(LOBJS:.lo=.d)
50
 
50
 
(-)misc/gretl/pkg-plist (+13 lines)
Lines 5-20 Link Here
5
%%GNOME:%%etc/gconf/gconf.xml.defaults/schemas/apps/gretl/%gconf.xml
5
%%GNOME:%%etc/gconf/gconf.xml.defaults/schemas/apps/gretl/%gconf.xml
6
%%GNOME:%%etc/gconf/schemas/gretl.schemas
6
%%GNOME:%%etc/gconf/schemas/gretl.schemas
7
include/gretl/calendar.h
7
include/gretl/calendar.h
8
include/gretl/clapack_double.h
8
include/gretl/compare.h
9
include/gretl/compare.h
9
include/gretl/dataio.h
10
include/gretl/dataio.h
11
include/gretl/dbread.h
10
include/gretl/describe.h
12
include/gretl/describe.h
11
include/gretl/discrete.h
13
include/gretl/discrete.h
12
include/gretl/estimate.h
14
include/gretl/estimate.h
15
include/gretl/f2c.h
13
include/gretl/generate.h
16
include/gretl/generate.h
14
include/gretl/graphing.h
17
include/gretl/graphing.h
15
include/gretl/gretl_cmdlist.h
18
include/gretl/gretl_cmdlist.h
16
include/gretl/gretl_commands.h
19
include/gretl/gretl_commands.h
17
include/gretl/gretl_errors.h
20
include/gretl/gretl_errors.h
21
include/gretl/gretl_matrix.h
18
include/gretl/gretl_utils.h
22
include/gretl/gretl_utils.h
19
include/gretl/gretl_win32.h
23
include/gretl/gretl_win32.h
20
include/gretl/interact.h
24
include/gretl/interact.h
Lines 27-32 Link Here
27
include/gretl/nonparam.h
31
include/gretl/nonparam.h
28
include/gretl/printout.h
32
include/gretl/printout.h
29
include/gretl/pvalues.h
33
include/gretl/pvalues.h
34
include/gretl/qr_estimate.h
30
include/gretl/random.h
35
include/gretl/random.h
31
include/gretl/strutils.h
36
include/gretl/strutils.h
32
include/gretl/subsample.h
37
include/gretl/subsample.h
Lines 147-156 Link Here
147
%%GRETLDATADIR%%/gretl/data/data9-8.gdt
152
%%GRETLDATADIR%%/gretl/data/data9-8.gdt
148
%%GRETLDATADIR%%/gretl/data/data9-9.gdt
153
%%GRETLDATADIR%%/gretl/data/data9-9.gdt
149
%%GRETLDATADIR%%/gretl/data/descriptions
154
%%GRETLDATADIR%%/gretl/data/descriptions
155
%%GRETLDATADIR%%/gretl/data/ects_nls.gdt
150
%%GRETLDATADIR%%/gretl/data/greene/greene10_3.gdt
156
%%GRETLDATADIR%%/gretl/data/greene/greene10_3.gdt
151
%%GRETLDATADIR%%/gretl/data/greene/greene11_3.gdt
157
%%GRETLDATADIR%%/gretl/data/greene/greene11_3.gdt
152
%%GRETLDATADIR%%/gretl/data/greene/greene12_1.gdt
158
%%GRETLDATADIR%%/gretl/data/greene/greene12_1.gdt
153
%%GRETLDATADIR%%/gretl/data/greene/greene13_1.gdt
159
%%GRETLDATADIR%%/gretl/data/greene/greene13_1.gdt
160
%%GRETLDATADIR%%/gretl/data/greene/greene14_1.gdt
154
%%GRETLDATADIR%%/gretl/data/greene/greene18_1.gdt
161
%%GRETLDATADIR%%/gretl/data/greene/greene18_1.gdt
155
%%GRETLDATADIR%%/gretl/data/greene/greene18_2.gdt
162
%%GRETLDATADIR%%/gretl/data/greene/greene18_2.gdt
156
%%GRETLDATADIR%%/gretl/data/greene/greene19_1.gdt
163
%%GRETLDATADIR%%/gretl/data/greene/greene19_1.gdt
Lines 163-176 Link Here
163
%%GRETLDATADIR%%/gretl/data/hamilton.gdt
170
%%GRETLDATADIR%%/gretl/data/hamilton.gdt
164
%%GRETLDATADIR%%/gretl/data/leverage.gdt
171
%%GRETLDATADIR%%/gretl/data/leverage.gdt
165
%%GRETLDATADIR%%/gretl/data/longley.gdt
172
%%GRETLDATADIR%%/gretl/data/longley.gdt
173
%%GRETLDATADIR%%/gretl/data/sw_ch12.gdt
166
%%GRETLDATADIR%%/gretl/db/bcih.bin
174
%%GRETLDATADIR%%/gretl/db/bcih.bin
167
%%GRETLDATADIR%%/gretl/db/bcih.idx
175
%%GRETLDATADIR%%/gretl/db/bcih.idx
168
%%GRETLDATADIR%%/gretl/gretl-logo.xpm
176
%%GRETLDATADIR%%/gretl/gretl-logo.xpm
169
%%GRETLDATADIR%%/gretl/gretl.hlp
177
%%GRETLDATADIR%%/gretl/gretl.hlp
170
%%GRETLDATADIR%%/gretl/gretl.stamp
178
%%GRETLDATADIR%%/gretl/gretl.stamp
171
%%GRETLDATADIR%%/gretl/gretlcli.hlp
179
%%GRETLDATADIR%%/gretl/gretlcli.hlp
180
%%GRETLDATADIR%%/gretl/scripts/ects_nls.inp
172
%%GRETLDATADIR%%/gretl/scripts/greene11_3.inp
181
%%GRETLDATADIR%%/gretl/scripts/greene11_3.inp
173
%%GRETLDATADIR%%/gretl/scripts/greene12_1.inp
182
%%GRETLDATADIR%%/gretl/scripts/greene12_1.inp
183
%%GRETLDATADIR%%/gretl/scripts/greene14_1.inp
174
%%GRETLDATADIR%%/gretl/scripts/greene14_2.inp
184
%%GRETLDATADIR%%/gretl/scripts/greene14_2.inp
175
%%GRETLDATADIR%%/gretl/scripts/greene18_6.inp
185
%%GRETLDATADIR%%/gretl/scripts/greene18_6.inp
176
%%GRETLDATADIR%%/gretl/scripts/greene19_1.inp
186
%%GRETLDATADIR%%/gretl/scripts/greene19_1.inp
Lines 178-183 Link Here
178
%%GRETLDATADIR%%/gretl/scripts/greene8_3.inp
188
%%GRETLDATADIR%%/gretl/scripts/greene8_3.inp
179
%%GRETLDATADIR%%/gretl/scripts/greene9_1.inp
189
%%GRETLDATADIR%%/gretl/scripts/greene9_1.inp
180
%%GRETLDATADIR%%/gretl/scripts/greene9_3.inp
190
%%GRETLDATADIR%%/gretl/scripts/greene9_3.inp
191
%%GRETLDATADIR%%/gretl/scripts/leverage.inp
192
%%GRETLDATADIR%%/gretl/scripts/longley.inp
181
%%GRETLDATADIR%%/gretl/scripts/ps10-1.inp
193
%%GRETLDATADIR%%/gretl/scripts/ps10-1.inp
182
%%GRETLDATADIR%%/gretl/scripts/ps10-10.inp
194
%%GRETLDATADIR%%/gretl/scripts/ps10-10.inp
183
%%GRETLDATADIR%%/gretl/scripts/ps10-11.inp
195
%%GRETLDATADIR%%/gretl/scripts/ps10-11.inp
Lines 253-258 Link Here
253
%%GRETLDATADIR%%/gretl/scripts/ps9-9.inp
265
%%GRETLDATADIR%%/gretl/scripts/ps9-9.inp
254
%%GRETLDATADIR%%/gretl/scripts/ps_descriptions
266
%%GRETLDATADIR%%/gretl/scripts/ps_descriptions
255
%%GRETLDATADIR%%/gretl/scripts/pscoin.inp
267
%%GRETLDATADIR%%/gretl/scripts/pscoin.inp
268
%%GRETLDATADIR%%/gretl/scripts/sw_ch12.inp
256
%%GRETLDATADIR%%/gretl/scripts/testinp
269
%%GRETLDATADIR%%/gretl/scripts/testinp
257
%%GRETLDATADIR%%/gretl/scripts/wg_ps_descriptions
270
%%GRETLDATADIR%%/gretl/scripts/wg_ps_descriptions
258
%%GNOME:%%%%GRETLDATADIR%%/help/gretl/C/chapters/appendices.xml
271
%%GNOME:%%%%GRETLDATADIR%%/help/gretl/C/chapters/appendices.xml

Return to bug 54903