1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/devel/codecrusader/files/patch-ac
David E. O'Brien 10682a510a One of the distfiles changed contents, but not name. The changed
distfile is for a newer version of the primary distfile.  Thus that
needed to be updated.  And that caused others to need to be updated.

Anyway after the upgrades, it doesn't build fully, but is farther along
to where it needs to be.  Since this isn't really any more broken than
before, commit it to help others that want to see this working again.
1999-12-10 19:40:46 +00:00

99 lines
2.4 KiB
Plaintext

--- programs/code_crusader/Make.header.orig Tue Sep 21 13:23:17 1999
+++ programs/code_crusader/Make.header Fri Dec 10 11:31:35 1999
@@ -73,11 +73,10 @@
#####
.PHONY : default
-default: libs jcc ctags
+default: libs jcc
.PHONY : Makefiles
Makefiles:
- @cd ctags; ./configure > /dev/null
#
# required libraries
@@ -98,33 +97,19 @@
@cd ${JTOOLBARLIBDIR}; ${MAKE} TOUCHSTRING=${TOUCHSTRING} touch
#
-# ctags
-#
-
-.PHONY : ctags
-ctags:
- @cd ctags; ${MAKE}; strip ctags
-
-#
# install binaries
#
.PHONY : jxinstall
-jxinstall: jcc ctags
+jxinstall: jcc
@strip jcc
ifneq (${J_WANT_INSTALL},0)
- @mv jcc ctags/ctags ${JX_INSTALL_ROOT}/
- ifeq (${shell whoami},root)
- @cp ctags/ctags.1 /usr/man/man1/
- endif
+ @mv jcc ${JX_INSTALL_ROOT}/
endif
.PHONY : jxuninstall
jxuninstall:
- @${RM} ${JX_INSTALL_ROOT}/jcc ${JX_INSTALL_ROOT}/ctags
- ifeq (${shell whoami},root)
- @${RM} /usr/man/man1/ctags.1
- endif
+ @${RM} ${JX_INSTALL_ROOT}/jcc
#
# remove binaries
@@ -132,7 +117,6 @@
.PHONY : tidy
tidy::
- @cd ctags; ${MAKE} clean > /dev/null
# makemake's clean invokes tidy, which does everything necessary
@@ -145,14 +129,13 @@
.PHONY : source
source:
- @-cd ctags; ${MAKE} clean > /dev/null
@cd ${J_DISTR_TAR_DIR}; \
- tar -czf ${SRC_TAR_FILE} ${filter-out %.o %~ %ctags, \
+ tar -czf ${SRC_TAR_FILE} ${filter-out %.o %~, \
${shell cd ${J_DISTR_TAR_DIR}; echo \
${addprefix ${SRC_FILE_DIR}/, \
README.* LICENSE FAQ Make.* *.fd \
${EXTRA_FILES} macros/* desktop/* \
- code/* rpm/* ctags/* } }}
+ code/* rpm/* } }}
#
# binary distributions
@@ -179,18 +162,15 @@
# distr_sub (JCC_DISTR_TAR_FILE, MKMK_TARGET)
.PHONY : distr_sub
-distr_sub: ctags
+distr_sub:
@strip jcc
@${RM} -r ${JCC}
- @mkdir ${JCC} ${JCC}/ctags
+ @mkdir ${JCC}
@ln -s ../README.binary ${JCC}/README
@ln -s ../jcc ${JCC}/jcc
@ln -s ../macros ${JCC}/macros
@ln -s ../desktop ${JCC}/desktop
- @ln -s ../../ctags/ctags ${JCC}/ctags/ctags
@cp LICENSE FAQ ${EXTRA_FILES} ${JCC}/
- @cp ctags/COPYING ctags/FAQ ctags/NEWS ctags/QUOTES ctags/README \
- ctags/ctags.1 ${JCC}/ctags/
@cd ${MKMKDIR}; \
${MAKE} JCC_TAR_DIR=${JCC_TAR_DIR}/${JCC} ${MKMK_TARGET}
@tar -chf ${JCC_DISTR_TAR_FILE} ${JCC}/*