diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cdk/Makefile | 7 | ||||
-rw-r--r-- | devel/cdk/files/patch-Makefile.in | 14 | ||||
-rw-r--r-- | devel/cdk/maninfo.mk | 2 |
3 files changed, 21 insertions, 2 deletions
diff --git a/devel/cdk/Makefile b/devel/cdk/Makefile index 111a8f51fc63..79a42771eff7 100644 --- a/devel/cdk/Makefile +++ b/devel/cdk/Makefile @@ -41,9 +41,14 @@ ALL_TARGET= default examples demos cli cdkshlib INSTALL_TARGET= install installCDKSHLibrary INSTALLS_SHLIB= yes -NOMANCOMPRESS= yes # work around 'argument list too long' issue .include "${.CURDIR}/maninfo.mk" +post-patch: +. for f in cli/Makefile.in demos/Makefile.in examples/Makefile.in + @${REINPLACE_CMD} -e 's|^\(LINKIT.*\)|& \&\& ${STRIP_CMD} $$@|' ${WRKSRC}/$f + @${RM} ${WRKSRC}/$f.bak +. endfor + post-configure: ${REINPLACE_CMD} -e 's|^DOCUMENT_DIR.*$$|DOCUMENT_DIR=${DOCSDIR}|' \ -e 's|^CDKSHLIB.*$$|CDKSHLIB=$$(SONAME)|' \ diff --git a/devel/cdk/files/patch-Makefile.in b/devel/cdk/files/patch-Makefile.in new file mode 100644 index 000000000000..233f35af33a4 --- /dev/null +++ b/devel/cdk/files/patch-Makefile.in @@ -0,0 +1,14 @@ +--- Makefile.in.orig Fri Feb 18 16:37:54 2005 ++++ Makefile.in Fri Feb 18 16:38:08 2005 +@@ -317,11 +317,9 @@ + @echo "Installing the CDK man pages in $(MAN_DIR) ..." + @for i in $(AUTO_MAN); do \ + $(SHELL) $(srcdir)/headers.sh $(INSTALL_DATA) $(MAN_DIR) $(srcdir) $$i; \ +- $(SHELL) $(srcdir)/manlinks.sh installing $(srcdir) $(MAN_DIR) $$i; \ + done + @for i in $(CDKMAN); do \ + $(SHELL) $(srcdir)/headers.sh $(INSTALL_DATA) $(MAN_DIR) $(srcdir) man/$$i; \ +- $(SHELL) $(srcdir)/manlinks.sh installing $(srcdir) $(MAN_DIR) $(srcdir)/man/$$i; \ + done + + uninstall \ diff --git a/devel/cdk/maninfo.mk b/devel/cdk/maninfo.mk index 6b1fc7e5d399..b4a8671a0742 100644 --- a/devel/cdk/maninfo.mk +++ b/devel/cdk/maninfo.mk @@ -34,7 +34,7 @@ MAN3+= cdk.3 \ cdk_uscale.3 \ cdk_uslider.3 \ cdk_viewer.3 -MLINKS+=cdk_alphalist.3 activateCDKAlphalist.3 \ +BROKENMLINKS+=cdk_alphalist.3 activateCDKAlphalist.3 \ cdk_alphalist.3 destroyCDKAlphalist.3 \ cdk_alphalist.3 drawCDKAlphalist.3 \ cdk_alphalist.3 eraseCDKAlphalist.3 \ |