[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trouble building x11/kde/libs3



When trying to make a package of x11/kde/libs3 I get an unknown file
error:

share/doc/HTML/en/kdelibs-apidocs/common not found.

I found 2 fixes.

Replace all occurences of kdelibs-apidocs with kdelibsa-apidocs in
the PLIST.

Apply this trivial patch:

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/kde/libs3/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile	12 Apr 2003 15:37:01 -0000	1.25
+++ Makefile	26 Apr 2003 08:48:15 -0000
@@ -65,6 +65,10 @@
 	share/templates/.source \
 	share/wallpapers
 
+pre-install:
+	@cd ${PREFIX}/share/doc/HTML/en; \
+		ln -sf kdelibsa-apidocs kdelibs-apidocs
+
 post-install:
 .for i in ${EXTRA_DIRECTORIES}
 	@${INSTALL_DATA_DIR} ${PREFIX}/$i

I prefer the second solution in which the installed pathnames are not
changed.

Kind regards,
Mathieu.