Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Build broken - port amd64 - pkgconfig/libcrypto.pc
On Sat, 19 Jan 2013, Christos Zoulas wrote:
$ cd /usr/src/crypto/external/bsd/openssl/lib/libcrypto
$ rm -f obj.amd64/libcrypto.pc
$ make -j 1 install
/usr/src/crypto/external/bsd/openssl/lib/libcrypto/../../mkpc libcrypto.pc >
libcrypto.pc
# install /usr/lib/pkgconfig/libcrypto.pc
/usr/tools/amd64/bin/x86_64--netbsd-install -N
/net/quasar/src-5/NetBSD/src/etc -c -p -r -o root -g wheel -m 444
libcrypto.pc /usr/lib/pkgconfig/libcrypto.pc
Looking at the openssl/dist/Makefile (and also Makefile.org) I see this:
all: Makefile build_all openssl.pc libssl.pc libcrypto.pc
...
libcrypto.pc: Makefile
@ ( echo 'prefix=$(INSTALLTOP)'; \
echo 'exec_prefix=$${prefix}'; \
echo 'libdir=$${exec_prefix}/$(LIBDIR)'; \
echo 'includedir=$${prefix}/include'; \
echo ''; \
echo 'Name: OpenSSL-libcrypto'; \
echo 'Description: OpenSSL cryptography library'; \
echo 'Version: '$(VERSION); \
echo 'Requires: '; \
echo 'Libs: -L$${libdir} -lcrypto'; \
echo 'Libs.private: $(EX_LIBS)'; \
echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libcrypto.pc
...
These two Makefiles are the only ones in all of $SRCDIR which have any
mention of libcrypto.pc and the above create script doesn't look like
what your log file shows.
# find src -name 'Makefile*' | xargs grep -c 'libcrypto\.pc' | grep -v ':0$'
src/crypto/external/bsd/openssl/dist/Makefile.org:6
src/crypto/external/bsd/openssl/dist/Makefile:6
#
Maybe there's a Makefile change needed somewhere that did not get
committed?
-------------------------------------------------------------------------
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer | | pgoyette at netbsd.org |
-------------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index