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

(-)databases/sqsh/Makefile (-10 / +16 lines)
Lines 1-7 Link Here
1
# New ports collection makefile for:   sqsh
1
# Created by: Domas Mituzas <midom@dammit.lt>
2
# Date created:		14 Jan 2000
3
# Whom:			Domas Mituzas <midom@dammit.lt>
4
#
5
# $FreeBSD: ports/databases/sqsh/Makefile,v 1.37 2012/05/10 12:48:55 wen Exp $
2
# $FreeBSD: ports/databases/sqsh/Makefile,v 1.37 2012/05/10 12:48:55 wen Exp $
6
3
7
PORTNAME=	sqsh
4
PORTNAME=	sqsh
Lines 12-32 Link Here
12
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Interactive tool for querying Sybase database servers
10
COMMENT=	Interactive tool for querying Sybase database servers
14
11
12
LICENSE=	GPLv2 # (or later)
13
15
LIB_DEPENDS=	ct:${PORTSDIR}/databases/freetds
14
LIB_DEPENDS=	ct:${PORTSDIR}/databases/freetds
16
15
17
USE_GETTEXT=	yes
16
OPTIONS_DEFINE=	X11
17
OPTIONS_DEFAULT=X11
18
19
USE_READLINE=	yes
18
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
19
CONFIGURE_ENV=	SYBASE="${LOCALBASE}"
21
CONFIGURE_ENV=	SYBASE="${LOCALBASE}"
20
CONFIGURE_ARGS=	--with-readline
22
CONFIGURE_ARGS=	--with-readline
21
ALL_TARGET=	-j`${SYSCTL} -n hw.ncpu` build
23
ALL_TARGET=	build
24
MAKE_JOBS_SAFE=	yes
22
25
23
MAN1=	sqsh.1
26
MAN1=		sqsh.1
27
PLIST_FILES=	bin/sqsh etc/sqshrc.default
24
28
25
.if defined(WITHOUT_X11)
29
.include <bsd.port.options.mk>
26
PKGNAMESUFFIX=	-nox11
30
27
.else
31
.if ${PORT_OPTIONS:MX11}
28
USE_MOTIF=	yes
32
USE_MOTIF=	yes
29
CONFIGURE_ARGS+=	--with-motif --with-x
33
CONFIGURE_ARGS+=	--with-motif --with-x
34
.else
35
PKGNAMESUFFIX=	-nox11
30
.endif
36
.endif
31
37
32
post-patch:
38
post-patch:
(-)databases/sqsh/files/patch-configure (-3 / +14 lines)
Lines 1-9 Link Here
1
--- configure	Fri Nov  9 14:58:04 2001
1
--- configure.orig	2012-05-02 20:27:55.000000000 +0900
2
+++ configure	Tue Oct 15 13:51:29 2002
2
+++ configure	2012-05-04 14:34:22.000000000 +0900
3
@@ -1196,5 +1195,5 @@
3
@@ -3463,7 +3463,7 @@
4
 
5
 		SYBASE_LIBS=
6
 
7
-		for i in blk cs ct tcl comn intl unic
8
+		for i in blk cs ct tcl comn unic
9
 		do
10
 			x=
11
 			if test -f $SYBASE_LIBDIR/lib${i}.a; then
12
@@ -3531,7 +3531,7 @@
13
 				SYBASE_OS="-lnsl -lm";;
4
 			ncr*)
14
 			ncr*)
5
 				SYBASE_OS="-ldl -lm";;
15
 				SYBASE_OS="-ldl -lm";;
6
-			sunos*)
16
-			sunos*)
7
+			sunos*|*bsd*)
17
+			sunos*|*bsd*)
8
 				SYBASE_OS="-lm";;
18
 				SYBASE_OS="-lm";;
9
 			solaris*)
19
 			solaris*)
20
 				SYBASE_OS="-lnsl -ldl -lm";;
(-)databases/sqsh/files/patch-doc::global.sqshrc (-1 / +1 lines)
Lines 6-12 Link Here
6
+
6
+
7
+#	DO NOT EDIT -- the changes will be lost if you reinstall
7
+#	DO NOT EDIT -- the changes will be lost if you reinstall
8
+#	or upgrade sqsh port/package. Instead, create your own
8
+#	or upgrade sqsh port/package. Instead, create your own
9
+#		%%LOCALBASE%%/etc/sqshrc
9
+#		%%PREFIX%%/etc/sqshrc
10
+#	if you wish to make system-wide customizations.
10
+#	if you wish to make system-wide customizations.
11
+#	User-specific customizations can be made in ~/.sqshrc files.
11
+#	User-specific customizations can be made in ~/.sqshrc files.
12
 
12
 
(-)databases/sqsh/pkg-plist (-2 lines)
Lines 1-2 Link Here
1
bin/sqsh
2
etc/sqshrc.default

Return to bug 171975