aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/file/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/file/Makefile b/devel/file/Makefile
index 8a88d138997b..46f04d948b09 100644
--- a/devel/file/Makefile
+++ b/devel/file/Makefile
@@ -22,6 +22,9 @@ MAN3= libmagic.3
MAN4= magic.4
post-install:
+# This is way too ugly! I need to get USE_LIBTOOL working.
${RM} -f ${PREFIX}/lib/libmagic.la
+ ${RM} -f ${PREFIX}/lib/libmagic.so.1
+ ${MV} -f ${PREFIX}/lib/libmagic.so.1.0 ${PREFIX}/lib/libmagic.so.1
.include <bsd.port.mk>