diff options
author | steve <steve@FreeBSD.org> | 1998-09-28 01:46:51 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-09-28 01:46:51 +0800 |
commit | 8d4685ab82ddc376ef2d6dd0385d9d0ee48c6f46 (patch) | |
tree | 76e3a7a8651f80ee30477ec6c66ad5a2a933ee95 /x11-toolkits/qt31/Makefile | |
parent | 23835a46943c85f6127d1a0d412a7f81853fa533 (diff) | |
download | freebsd-ports-gnome-8d4685ab82ddc376ef2d6dd0385d9d0ee48c6f46.tar.gz freebsd-ports-gnome-8d4685ab82ddc376ef2d6dd0385d9d0ee48c6f46.tar.zst freebsd-ports-gnome-8d4685ab82ddc376ef2d6dd0385d9d0ee48c6f46.zip |
Convert to ELF and pickup a bunch of missing header files in pkg/PLIST.
Diffstat (limited to 'x11-toolkits/qt31/Makefile')
-rw-r--r-- | x11-toolkits/qt31/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/x11-toolkits/qt31/Makefile b/x11-toolkits/qt31/Makefile index 123a74a86382..a6a6b1fda7da 100644 --- a/x11-toolkits/qt31/Makefile +++ b/x11-toolkits/qt31/Makefile @@ -3,7 +3,7 @@ # Date created: 30 Jul 1996 # Whom: searle@longacre.demon.co.uk # -# $Id: Makefile,v 1.22 1998/08/11 13:19:14 andreas Exp $ +# $Id: Makefile,v 1.23 1998/09/27 16:06:59 steve Exp $ # DISTNAME= qt-${MAJ}.${MIN} @@ -117,10 +117,10 @@ post-configure: do-install: ${INSTALL_PROGRAM} $(WRKDIR)/qt-${MAJ}.${MIN}/bin/moc $(PREFIX)/bin - ${INSTALL_DATA} $(WRKDIR)/qt-${MAJ}.${MIN}/lib/libqt.so.${MAJ}.${MIN} \ + ${INSTALL_DATA} $(WRKDIR)/qt-${MAJ}.${MIN}/lib/libqt.so.${VERSION} \ $(PREFIX)/lib - ${LN} -sf $(PREFIX)/lib/libqt.so.${MAJ}.${MIN} $(PREFIX)/lib/libqt.so - ${LDCONFIG} -m $(PREFIX)/lib + ${LN} -sf $(PREFIX)/lib/libqt.so.$(VERSION) $(PREFIX)/lib/libqt.so + ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m $(PREFIX)/lib ${MKDIR} $(PREFIX)/include/X11/qt ${INSTALL_DATA} $(WRKDIR)/qt-${MAJ}.${MIN}/include/* \ $(PREFIX)/include/X11/qt @@ -133,3 +133,9 @@ do-install: ${PREFIX}/share/doc/qt .include <bsd.port.mk> + +.if ${PORTOBJFORMAT} == "elf" +VERSION= ${MAJ} +.else +VERSION= ${MAJ}.${MIN} +.endif |