Bug 26154 - databases/firebird doesn't compile
Summary: databases/firebird doesn't compile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-27 21:40 UTC by jazepeda
Modified: 2001-06-18 09:14 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jazepeda 2001-03-27 21:40:00 UTC
Building the Firebird (Interbase) port fails.

chmod 666 gds.so
mv -f gds.so source/interbase/lib/gds.so
touch gds.so
chmod 666 gds.so
rm -f burp
cc  backup.o burp.o canonical.o misc.o mvol.o restore.o  source/jrd/sdl.o   -o burp -Lsource/jrd -lgds -lgds_pyxis -ldescrypt
/usr/libexec/elf/ld: cannot find -ldescrypt
*** Error code 1

Stop in /usr/ports/databases/firebird/work/interbase/burp.
*** Error code 1

Stop in /usr/ports/databases/firebird/work/interbase.
*** Error code 1

Stop in /usr/ports/databases/firebird.
*** Error code 1

Stop in /usr/ports/databases/firebird.
*** Error code 1

Stop in /usr/ports/databases/firebird.
zippy:/usr/ports/databases/firebird#

How-To-Repeat: cd /usr/ports/databases/firebird
make
Comment 1 Scot W. Hetzel 2001-04-09 18:21:36 UTC
The attached patch changes descrypt to crypt for 5-CURRENT.
Since descrypt is now merged into libcrypt for 5-CURRENT.

Scot

diff -ruN firebird.orig/Makefile firebird/Makefile
--- firebird.orig/Makefile	Sat Mar 10 14:32:33 2001
+++ firebird/Makefile	Mon Apr  9 12:04:32 2001
@@ -23,6 +23,8 @@
 
 ONLY_FOR_ARCHS=	i386
 
+.include <bsd.port.pre.mk>
+
 do-extract:
 	@${MKDIR} ${WRKDIR}
 	@(								\
@@ -31,6 +33,11 @@
 	${CP} msgs/msg.gbak misc/msg.gbak				\
 	)
 
+.if ${OSVERSION} < 500016
+post-patch:
+	${PERL} -pi -e 's,\-ldescrypt,\-lcrypt,g' ${WRKSRC}/builds/original/prefix.freebsd
+.endif
+
 do-configure:
 	@(								\
 	cd ${WRKDIR}/interbase;						\
@@ -60,4 +67,4 @@
 	${CP} ${FILESDIR}/RELNOTES ${PREFIX}/firebird/			\
 	)
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Comment 2 scot 2001-04-09 18:24:11 UTC
I just noticed that the patch I submitted has the test for OSVERSION
reversed.

It should be ${OSVERSION} >= 500016.

Scot
Comment 3 dwcjr freebsd_committer freebsd_triage 2001-06-18 09:14:26 UTC
State Changed
From-To: open->closed

Committed, thanks!